Currying - function a(x) {
return function(y) {
return x + y;
}
}
const first = a(1); // func
const second = first(2); // 3
Today i learned: Gravitywaves. I wave back. #gravitywaves
obj = { x: x, y: y }; becomes obj = { x, y };
#ecmascript6 #javascript
Use ng-repeat="item in object track by $index [or any other unique identifier]" for avoid "$$hashKey".
#javascript #angularjs
Must read for every JS developer by @_ericelliott : medium.com/javascript-scene/…
try console.table(); for lists or objects. Nice, for readability. #javascript #development #developer #ninja
Why you explain recursion with Fibonacci numbers? Want to look awesome in front of noob?
#javascript
