David Herman
Genre
More books by David Herman…
“The official difference between anonymous and named function expressions is that the latter binds its name as a local variable within the function. This can be used to write recursive function expressions:”
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
“Properties not found directly on u are looked up in u’s prototype. Accessing u.checkPassword, for example, retrieves a method stored in User.prototype.”
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
“JavaScript’s global namespace is also exposed as a global object, which is accessible at the top of a program as the initial value of the this keyword. In web browsers, the global object is also bound to the global window variable. Adding or modifying global variables automatically updates the global object: this.foo; // undefined foo = "global foo"; this.foo; // "global foo”
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
― Effective JavaScript: 68 Specific Ways to Harness the Power of JavaScript
Is this you? Let us know. If not, help out and invite David to Goodreads.