JavaScript can be so cruel.
typeof null === 'object'; // This stands since the beginning of JavaScriptThis is planned on being fixed in the next version of ECMAScript (which will be available via an opt-in). It will result in typeof null === 'null'.
Note: it's been rejected
No comments:
Post a Comment