Douglas Crockford: The JavaScript Programming Language
Why Stack Overflow recommends it
Stack Overflow users link it as the standard grounding in JavaScript fundamentals such as closures, prototypes, scope and truthiness when answering beginner and conceptual questions.
Recommended by 12 people across 11 different months, 2009 to 2020.
What it is
A 2007 Yahoo! lecture by Douglas Crockford covering the JavaScript language and the history behind its design quirks. It is the first in a planned three-course sequence, and this upload combines all four parts into one nearly two-hour video.
What people said
Strong rec tereško · 2011-12 · Stack Overflow · on “jquery not working in html5 doc”
Well, after taking a look at one of the first "training videos" [LINK] , I would strongly suggest to stop using that site for learning purposes. It's like a collection of all the worst practices, available at single locations. If you want to learn Javascript, you should instead avoid use of frameworks for now, and concentrate on learning the basics. Few links you might find useful: you should begin by watching Douglas Crockford: The JavaScript Programming Language [this video] , it is an almost 2 hour long lecture in 4 parts, which will cover the basics you need to know. [LINK] : online (and free) book about Javascript, covering all the major things you must know [LINK] : this page contains lectu
Strong rec Alberto Gutierrez · 2012-02 · Stack Overflow · on “Java Object Oriented Concepts in Javascript”
I think you mainly need to understand that Javascript is a pure OOP language, but it doesn't have classes!... That to a Java programmer is quite a shock, and takes a while to get your head around it, but is a quite powerful paradigm. This video here is from Douglas Crockford, a guy who helped creating Javascript, brilliant for new Javascript programmers [this video]
Strong rec Tomas · 2012-04 · Stack Overflow · on “Is it possible to pass execution context of the immediately invoked function expression”
No. It is not possible. The context you want to access is called closure and can be accessed only within the function (in your case, the anonymous function (IIFE how you call it)). For more about closures follow the excellent Douglas Crockfords The Javascript programming language video tutorial [this video] . You will have to place those attributes to some shared object.
Recommends mlennox · 2009-01 · Stack Overflow · on “How to skip to next iteration in jQuery.each() util?”
Javascript sort of has the idea of 'truthiness' and 'falsiness'. If a variable has a value then, generally 9as you will see) it has 'truthiness' - null, or no value tends to 'falsiness'. The snippets below might help: var temp1; if ( temp1 )... // false var temp2 = true; if ( temp2 )... // true var temp3 = ""; if ( temp3 ).... // false var temp4 = "hello world"; if ( temp4 )... // true Hopefully that helps? Also, its worth checking out these videos from Douglas Crockford update: thanks @cphpython for spotting the broken links - I've updated to point at working versions now The Javascript language [this video] Javascript - The Good Parts [LINK]
Recommends blong · 2012-01 · Stack Overflow · on “What is a good example for functional style web programming using javascript?”
I've been meaning to learn more about the Functional use of JavaScript, this is a fantastic answer. Also, to add to what @Kevin Hakanson has posted below, here's a [this video]
Recommends handsomeransoms · 2012-06 · Stack Overflow · on “Understanding Asynchronous Code in Layman's terms”
Looks like you're working through the Node Beginner Book [LINK] . I encourage you to work through the entire book, it really is an excellent introduction. If you are trying to understand Javascript better, Douglas Crockford's videos on YouTube are a great overview: 1 [this video] , 2 [LINK] . The piece of code you've posted doesn't have enough context for me to really help you. response is a parameter that you're passing to your function, it does not come from postData. If you are working with code the way the Node Beginner Book suggests, you are probably passing response to your newuser function all the way down from the createServer function, which is part of the http module that comes with Nod
Recommends Elias Van Ootegem · 2012-08 · Stack Overflow · on “Why is jQuery's $.type() defined to return "object" instead of "error" for native ECMAScript Error objects?”
@ŠimeVidas: Found it: [this video] it's ~16.30 minutes in, when he starts of with `one mistake that JavaScript copied from Java... ` after he talks about using radix when with `parseInt`
Recommends Roger · 2012-08 · Stack Overflow · on “Setting HTML textbox value using javascript function?”
@user1570222 I've never used Android (I plan to but I don't know any of it right now) See the link I updated to the answer, hope that it helps, as I said, you need call the function from somewhere. Take a lesson on javascript [this video]
Recommends b_dubb · 2013-09 · Stack Overflow · on “dividing two variables in javascript”
here's a helpful video that contains an explanation of how to perform calculations given JavaScript's shortcomings - [this video]
Recommends 64BitBob · 2014-03 · Stack Overflow · on “Understanding what AJAX is capable of and its limitations”
Long story short: AJAX lets you make calls to the server without submitting a form or navigating the page. That is all it does. Originally it stood for "Asynchronous Javascript And XML" because the XMLHttpRequest object was designed to receive updates in XML format. Microsoft added the object so that the Outlook Web interface could pop up new mail alerts by polling the server. Since then, most programmers have eschewed the use of XML as the data exchange protocol and rely on JSON [LINK] instead. JSON is far easier to parse and work with. While I could go through some examples of the low level XMLHttpRequest interactions, other sources [LINK] have that well covered. Instead, I'm going to give