mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
LibJS/Bytecode: Make typeof return "undefined" on unresolvable IDs
Previously it would throw instead of returning "undefined" for `typeof Identifier` if Identifier does not exist.
This commit is contained in:
parent
c0fadfb9b7
commit
482a827346
4 changed files with 55 additions and 1 deletions
|
@ -82,6 +82,7 @@
|
|||
O(Sub) \
|
||||
O(Throw) \
|
||||
O(Typeof) \
|
||||
O(TypeofVariable) \
|
||||
O(UnaryMinus) \
|
||||
O(UnaryPlus) \
|
||||
O(UnsignedRightShift) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue