moneylog
moneylog copied to clipboard
Considere não usar for loops
Use Array.forEach
, Array.map
e Array.filter
.
Sobre:
- http://www.codereadability.com/coding-without-loops/
- https://www.sitepoint.com/quick-tip-stop-writing-loops-start-thinking-with-maps/
Polyfills para IE < 9:
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach#polyfill
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Polyfill
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#polyfill