3 ms·
That used to be the case with JavaScript too - until recently (ECMAScript 2015, IIRC?) you could do `undefined = null;` and other fun things like overwrite the
by DaiPlusPlus 6y ago
That used to be the case with JavaScript too - until recently (ECMAScript 2015, IIRC?) you could do `undefined = null;` and other fun things like overwrite the `Array` constructor (which became a particularly nasty JSON attack vector).
- rbanffy 6y ago> like overwrite the `Array` constructor (which became a particularly nasty JSON attack vector). Yikes!