Originally at 2014-10-28T18:19:12Z by Herbert Vojčík
This is probably hard to implement, but why not to list it here?
Why not undefined: the value null is always the same in all frames /.contexts and does not have problems of undefined (rewriteable is older browser, as it's just a plain global variable, not a keyword).
IMO, null is also better from principle - it's explicitly said "no object", not an implicitly defined "nothing was put here yet", which undefined is.
Originally at 2014-10-28T18:19:12Z by Herbert Vojčík
This is probably hard to implement, but why not to list it here?
Why not `undefined`: the value `null` is always the same in all frames /.contexts and does not have problems of `undefined` (rewriteable is older browser, as it's just a plain global variable, not a keyword).
IMO, `null` is also better from principle - it's explicitly said "no object", not an implicitly defined "nothing was put here yet", which `undefined` is.
<bountysource-plugin>
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/5583551-represent-nil-with-javascript-null?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F79201&utm_medium=issues&utm_source=github).
</bountysource-plugin>
Originally at 2014-10-28T18:19:12Z by Herbert Vojčík
This is probably hard to implement, but why not to list it here?
Why not
undefined
: the valuenull
is always the same in all frames /.contexts and does not have problems ofundefined
(rewriteable is older browser, as it's just a plain global variable, not a keyword). IMO,null
is also better from principle - it's explicitly said "no object", not an implicitly defined "nothing was put here yet", whichundefined
is.Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.