Why can we delete some built-in properties of global object?
- by demix
I'm reading es5 these days and find that [[configurable]] attribute in some built-in properties of global object is set to true which means we can delete these properties.
For example:
the join method of Array.prototype object have attributes
{[[Writable]]:true, [[Enumerable]]: false, [[Configurable]]: true}
So we can easily delete the join…