TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A re-introduction to JavaScript

149 pointsby rajeshtalmost 15 years ago

10 comments

ams6110almost 15 years ago
Glad to see they linked Crockford's site. I discovered his site probably four years ago or so and it really opened my eyes to the capabilities of the language. I think anyone who wants to learn more about JavaScript should definitely include Crockford in his studies.
aborovoyalmost 15 years ago
Question to JavaScript gurus: how would i know if my code works in various browserless environments like Reeno and V8? Is there a compatibility table of various JS features is isn't browser-centric?<p>Thanks!
评论 #1524594 未加载
评论 #1524758 未加载
评论 #1524764 未加载
评论 #1526348 未加载
csallenalmost 15 years ago
Just a heads up, article was last significantly edited in March '06.
评论 #1524748 未加载
评论 #1524782 未加载
评论 #1524670 未加载
AlexMuiralmost 15 years ago
I've been using Javascript for years and never really 'learned it'. It's just something I've dipped into to solve a particular problem - largely through just grabbing other code/dissecting existing stuff. Then I got hold of jQuery and never learned about the underlying language. This was great to catch up on the basics.
andrew-boralmost 15 years ago
Despite hundreds of thousands of search results in Google when you're looking for "Javascript tutorial" this one is by far the best one for a beginner.
评论 #1525319 未加载
jckarteralmost 15 years ago
An introduction really shouldn't encourage things like "for (var i = 0, item; item = a[i]; i++)". Someone's going to cut-and-paste that because it looks cute, and their code will break when their array suddenly needs to contain null values. Fuzzy boolean semantics are bad enough without spreading stuff like this around (speaking from experience with || abuse in Perl).
评论 #1524604 未加载
评论 #1526679 未加载
评论 #1526476 未加载
llaxsllalmost 15 years ago
This article has a good description of closures, which is very important to brush up on if one is developing a heavy dhtml site. Thanks.
评论 #1524560 未加载
jasonjohnsonalmost 15 years ago
Not a bad guide, old as it may be. Chuckled a bit when I read, "JavaScript has a <i>tertiary operator</i> for one-line conditional statements..." - been in there since the original version.<p><a href="http://en.wikipedia.org/wiki/Ternary_operation" rel="nofollow">http://en.wikipedia.org/wiki/Ternary_operation</a>
评论 #1524808 未加载
limistalmost 15 years ago
If you like this article, you'll <i>love</i> the book "Javascript: The Good Parts":<p><a href="http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742" rel="nofollow">http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockfor...</a>
michaeltwofishalmost 15 years ago
This article provided my "aha!" moment for prototypes.