A mate at work flicked through a neat little table that outline common LINQ functions in use throughout C#, and their ES6 equivalents. So I thought I'd take a second to blog (woooo, look at me all blogging and stuff!) about it, before I forget.
This shiny little nugget of knowledge came about as I was kludging my way around a
for loop in a function, iterating over an array of objects, checking if a value existed. A colleague informed me "uhh why don't you just
some". You can even invoke it using an arrow function:
myArray.some(val => val === mySuperAwesomeValue)
Got another cool function I'm missing? Hit me up on the twitters!