Javascript has some very nice anonymous functions that let you create anyWhere lambdas as a function, but the implementation is accompanied by the repetition of a few words and areas:
function(name){ return "Hello, " + name; }
Thanks to EcmaScript 2015, lambda expresion is now available for javaScript with a simpler syntax: Arrow function
(name) => "Hello, " + name
Morteza Tourani Nov 10 '15 at 8:20 2015-11-10 08:20
source share