1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:48:14 +00:00
serenity/Libraries/LibJS
Linus Groh 2636cac6e4 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 :^)
2020-04-03 00:10:52 +02:00
..
Heap LibJS: Disable HEAP_DEBUG logging on non-SerenityOS platforms 2020-03-25 09:49:14 +01:00
Runtime LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00
Tests LibJS: Implement Infinity 2020-04-02 21:52:15 +02:00
AST.cpp LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00
AST.h LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00
Forward.h LibJS: Start implementing object shapes 2020-04-02 19:32:21 +02:00
Interpreter.cpp LibJS: Start implementing object shapes 2020-04-02 19:32:21 +02:00
Interpreter.h LibJS: Start implementing object shapes 2020-04-02 19:32:21 +02:00
Lexer.cpp LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Start implementing object shapes 2020-04-02 19:32:21 +02:00
Parser.cpp LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00
Parser.h LibJS: Add support for arrow functions 2020-03-30 15:41:36 +02:00
Token.cpp LibJS: Use some macro magic to avoid duplicating all the token types 2020-03-30 13:11:07 +02:00
Token.h LibJS: Remove UndefinedLiteral, add undefined to global object 2020-04-03 00:10:52 +02:00