Hacker News new | past | comments | ask | show | jobs | submit login

No you can't. You can do something like function(undefined) {}, but the global 'undefined' is non-writable and non-configurable.



That's an ES5 change. With ES3, you can overwrite NaN, Infinity, and undefined.


Only in strict mode I though no ?


Generally. Technically, it's a "breaking change".

As you can imagine, this didn't actually affect anyone.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: