|
|
|
|
|
by olliej
2715 days ago
|
|
Undefined on the global object has been read only since es3.1 I think. However you can still declare variables named undefined that get their own storage and so can have any value. Originally “undefined” didn’t exist in the global scope so many sites had “var undefined” or function f(..., undefined){..} to get a reference to the value. |
|