3 ms·
> Sure there are janky features but modern JavaScript is a pretty nice language. “Janky” is an understatement. Recently I’ve rediscovered that in JavaScript co
by yakubin 4y ago
> Sure there are janky features but modern JavaScript is a pretty nice language.
“Janky” is an understatement. Recently I’ve rediscovered that in JavaScript comparing two arrays with == and === returns false, unless they’re the same object. At the same time there is no built-in function to correctly compare arrays for equality. This is a C-level foot gun. Not the only one I might add.