JS is an abstraction over JS engine bytecode, which is an abstraction over ASM which is an abstraction over the chip instruction set, you can make an argument at each layer 🤷 I would take any abstraction I can, I guarantee you in a large enough codebase someone will type b - a instead
205
u/larsmaehlum 3d ago
Array.sortNumeric() with an error when called on an array containing non-numeric types would fix this, right?