News

var helper = function(arg1, arg2) { return arg1 + arg2; }; //this is returning an actual instance of the class, but we wrap it in a function call to have real "private" members return function(){ ...
JavaScript classes provide a much simpler and clearer syntax to create objects and deal with inheritance." A StrongLoop blog post echoes the "syntactic sugar" angle. "ECMAScript 2015, formerly known ...
If you write JavaScript, you have probably used higher-order functions and not even noticed. If you have ever replaced a for loop with an array method, you’ve used higher-order functions.
Nowhere becomes this more apparent than in aspects like JavaScript’s brilliantly designed Date class, which astounds people to this day with its elegant handling of JavaScript’s powerful type ...