A few tips on how to work better with Arrays in JS
If you're like me who always end up using for loop to do any operation involving arrays, you should probably have a look below at some "hidden" methods available in ECMAScript5 (the current version on Javascript) to work with Arrays. I say "hidden" because these functions I'm going to show…