ES6 doesn't fix any of it, typescript fixes some of it.
https://babeljs.io/repl/#?babili=false&evaluate=true&lineWra...
Compare step 1 of http://www.ecma-international.org/ecma-262/6.0/#sec-isnan-nu... with http://www.ecma-international.org/ecma-262/6.0/#sec-number.i...