diff options
author | Linus Groh <mail@linusgroh.de> | 2021-04-02 21:00:37 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-02 22:24:30 +0200 |
commit | e875513ff7e34be086d6d8f3c8d77a2f208660f2 (patch) | |
tree | c41d778022ffe8ac4824f5dd33c515ab332dcabd /.gitignore | |
parent | d6cffb82a25973d59312afccf63e958660b30449 (diff) | |
download | serenity-e875513ff7e34be086d6d8f3c8d77a2f208660f2.zip |
LibJS: Use empty value for Reference unresolvable state, not undefined
This fixes an issue where `undefined.foo = "bar"` would throw a
ReferenceError instead of a TypeError as undefined was also used for
truly unresolvable references (e.g. `foo() = "bar"`). I also made the
various error messages here a bit nicer, just "primitive value" is not
very helpful.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions