2 ms·
Mine too. I write a lot of javascript and the string "null" is pretty harmless in most code. But there's all sorts of fun bugs (and often security vulnerabilit
by josephg 6y ago
Mine too.
I write a lot of javascript and the string "null" is pretty harmless in most code. But there's all sorts of fun bugs (and often security vulnerabilities) you can find if you make an identifier "__proto__". (If code ever uses that as the key in an object, you're off to the races!)
- steinuil 6y agoNice, I never thought of testing with "__proto__"! "constructor" is also a fun one.