Excellent JavaScript resources for beginners to veterans

Excellent JavaScript resources

For beginners and masters here is a small list of excellent JavaScript resources, and blogs, which will improve your knowledge of the language and hopefully teach you something new.

Automatically semicolon insertion, or do I always have to use semicolons is a hot topic in JS. Experts claim it’s confusing if you don’t add them in, some claim it’s inconsistent. Here is a great article eloquently explaining ASI:
http://inimino.org/~inimino/blog/javascript_semicolons

The tilde operator in JavaScript or bitwise NOT gives you the power to express yourself creatively in conditionals:
http://javascriptturnsmeon.posterous.com/the-tilde-operator-in-javascript

A big problem for JavaScript beginners is usually understanding what `this` means when. Yehuda Katz clears up the confusion with this great article:
http://yehudakatz.com/2011/08/11/understanding-javascript-function-invocation-and-this/

Another common pitfall for beginners is variable scoping. Unlike languages like C and Java which have lexical scoping, JavaScript has function scope, what does this mean exactly? Well, variables and function declarations are hoisted to the top, read more here:
http://www.adequatelygood.com/2010/2/JavaScript-Scoping-and-Hoisting

An article on understanding for-in and which properties are iterated:
http://javascriptweblog.wordpress.com/2011/01/04/exploring-javascript-for-in-loops/

Equality vs Strict Equals
http://javascriptweblog.wordpress.com/2011/02/07/truth-equality-and-javascript/

Last but not least, two book recommendations.

JavaScript Pattersn by Stoyan Stefanov
http://www.amazon.com/JavaScript-Patterns-Stoyan-Stefanov/dp/0596806752/ref=sr_1_1?s=books&ie=UTF8&qid=1322015883&sr=1-1

High Performance JavaScript by Nicholas Zakas
http://www.amazon.com/Performance-JavaScript-Faster-Application-Interfaces/dp/059680279X/ref=sr_1_1?ie=UTF8&qid=1322015870&sr=8-1

22
Nov 2011
AUTHOR goatslacker
CATEGORY

Engineering, Hacking

COMMENTS No Comments