Not magic

I was watching a talk on destroy all software titled The Birth and Death of Javascript During the talk Gary Bernhardt pointed out a JavaScript quirky feature, where given an array of integer strings, javascript var a = ['10','10','10','10'] console.log(a.map(parseInt)); // [10, NaN, 2, 3…