Javascript having both null and undefined is a bit of a mistake IMO but we can’t fix that one ![]()
I’m not familiar with Edge’s JS engine but since it’s now Chromium under the hood it’s surprising to hear it’s different from Chrome.
Anyways there is a bit of a difference:
undefined= the variable was declared but never given a valuenull= the variable was declared and given a value; but it representsnull