Skip to content
loading...

re: Memoization in a Nutshell VIEW POST

TOP OF THREAD FULL DISCUSSION
re: ===: Yeah, I just picked up this habit, as it is usually the safer option, especially when processing external/user input. return: JS is one of th...

Yeah I was hoping es6 is closer to functional than this. The only way to get an implicit return from the last expression is a lambda function without brackets (containing a single expression).

let fun = () => 0;
fun()           // will return 0
code of conduct - report abuse