scarylooking / theresamayjs

https://scarylooking.github.io/theresamayjs/
The Unlicense
115 stars 5 forks source link

Strict mode #14

Open benaston opened 7 years ago

benaston commented 7 years ago

Not all of this repo is in strict mode. I think realism would be enhanced if it was.

saxbophone commented 7 years ago

This might cause conflicts for any future brexit negotiations, regarding inability to delete undeletable properties that strict mode enforces. For instance:

'use strict';
delete Human.rights;
TypeError: Cannot delete property 'rights' of function Human() { [native code] }