summaryrefslogtreecommitdiff
path: root/AK/StdLibExtras.h
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-04-02 22:08:14 +0100
committerAndreas Kling <kling@serenityos.org>2020-04-03 00:10:52 +0200
commit2636cac6e4705714305fd13e6ac7b0d93f75e225 (patch)
treea6151e8fcf4c4812fdab835efd6da0ecaedf336a /AK/StdLibExtras.h
parent543c6e00db9538cbd0d56b630d98450544c63aa8 (diff)
downloadserenity-2636cac6e4705714305fd13e6ac7b0d93f75e225.zip
LibJS: Remove UndefinedLiteral, add undefined to global object
There is no such thing as a "undefined literal" in JS - undefined is just a property on the global object with a value of undefined. This is pretty similar to NaN. var undefined = "foo"; is a perfectly fine AssignmentExpression :^)
Diffstat (limited to 'AK/StdLibExtras.h')
0 files changed, 0 insertions, 0 deletions