|
|
|
|
|
by goto11
1223 days ago
|
|
If you want a version of typeof without this quirk it is trivially easy to write a typeof2023() function with the desired behavior. And it would be fully backwards compatible with existing code and existing browsers. No need to fork the language for this! "use strict" was for fixing some fundamental mistakes which couldn't be fixed in a backwards-compatible way. |
|