Closed aemkei closed 7 years ago
Here is another "funny" thing:
a = [,,,]; a.length // ==> 3 a + "" // ==> ",,"
see: https://twitter.com/aemkei/status/870252223762243584 and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas
Added! Thanks!
Here is another "funny" thing:
see: https://twitter.com/aemkei/status/870252223762243584 and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas