background preloader

JavaScript

Facebook Twitter

Meteor. Getting Started with Programming. Oh My JS by Azat Mardan. JavaScript is great! It's in the browser and on the server. We love it! But sometime we, JavaScript developers, find topics such as scoping, object instantiating, "this" context, etc. confusing and poorly documents. Oh My JavaScript is a collection of best articles on JavaScript/Node.js which will save your many hours of frustrations and internet searches! Oh My JavaScript: The Best Article is a compilation of publicly available resources conveniently edited and packaged in an ebook format (PDF, ePub, mobi). Fundamentas JavaScript syntax and patterns. Style and Organization Best practices and conventions. Tools Best tools for front and back-end development. Testing Test-Driven Development. Performance Performance tests and server-side memory testing. Node.js. Learn how to code by playing a game.

JavaScript. JavaScript Guide. The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. This Guide is divided into the following chapters. Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Indexed collections Keyed collections Working with objects Details of the object model Promises Iterators and generators. JS: The Right Way. JavaScript Garden. Although JavaScript deals fine with the syntax of two matching curly braces for blocks, it does not support block scope; hence, all that is left in the language is function scope. function test() { // a scope for(var i = 0; i < 10; i++) { // not a scope // count } console.log(i); // 10} There are also no distinct namespaces in JavaScript, which means that everything gets defined in one globally shared namespace.

Each time a variable is referenced, JavaScript will traverse upwards through all the scopes until it finds it. In the case that it reaches the global scope and still has not found the requested name, it will raise a ReferenceError. The Bane of Global Variables // script Afoo = '42'; // script Bvar foo = '42' The above two scripts do not have the same effect. Again, that is not at all the same effect: not using var can have major implications. // global scopevar foo = 42;function test() { // local scope foo = 21;}test();foo; // 21 Local Variables var foo = 3; bar = 4;}test(10); Hoisting. JavaScript Guide. Eloquent JavaScript. JavaScript Essentials. Learn JavaScript. JS: The Right Way. Contents. The Best Way to Learn JavaScript.

Learning something new is scary. For me, the biggest issue with picking up a new skill is that I don’t know what I don’t know. Given that, it’s often useful to find a plan for learning whatever you’re interested in. That’s what this post is: your blueprint, your roadmap, your plan of action for learning JavaScript! You don’t have to worry about finding the best resources, sorting out the bad ones, and figuring out what to learn next. It’s all here. JavaScript is the language of the browser. Before you actually begin learning JavaScript, take a minute to understand what it is and does. JavaScript is not jQuery, Flash, or Java.

JavaScript is the language of the browser (not exclusively these days, though). One more note: you’ve heard about jQuery, which is probably the most widely-used JavaScript library. You might even have heard someone say that you should start with jQuery (or another library) and learn JavaScript after. A handful of good introductions, if I may: So, what can you build? How to Learn JavaScript Properly - Ray Sinlao. Learn JavaScript Properly (For NON-JavaScript Programmers and First-time Programmers) Duration: 6 to 8 weeks. Prerequisite: Completed at least middle school (no programming experience necessary). Continue course below. Learn Intermediate and Advanced JavaScript (This links to a separate article) This course outline gives you a structured and instructive roadmap on how to learn JavaScript properly and thoroughly, from absolute beginner to attainment. You do want to learn JavaScript; it is why you are here, and you have made a wise decision, for if you want to develop modern websites and web applications (including an internet startup), you need to know JavaScript.

It is worth noting that unlike just a couple of years ago when you needed to know a true server-side language (such as PHP, Rails, Java, Python, or Perl) to develop scalable, dynamic, database-driven web applications, today you can do as much and more with JavaScript alone. How NOT To Learn JavaScript Resources For This Course. JSbooks - free javascript books. John Resig - JavaScript Programmer. The Best Way to Learn JavaScript. Batman.js — overview. JSbooks - free javascript books - Iceweasel. How to Learn JavaScript Properly - Ray Sinlao. John Resig - JavaScript Programmer. JS: The Right Way - Iceweasel. JSbooks - free javascript books - Iceweasel.