Tag Archives: weird

The bizarre quirk of JavaScript arrays (that it is best to by no means use) – JavaScript Dev Feed

The bizarre quirk of JavaScript arrays (that it is best to by no means use) For those who’ve finished any sort validation in JavaScript, you’ve got most likely observed that arrays haven’t got their very own sort. typeof [] === ‘array’; // false typeof []; // ‘object’ Enter fullscreen mode Exit fullscreen mode To examine…

Read More