1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00
serenity/Libraries/LibJS
Brian Gianforcaro 240a5b5fd7 LibJS: Add support for Math.ceil() and Math.trunc()
Introduce support for the both of these Math methods.
Math.trunc is implemented in terms of Math.ceil or Math.floor
based on the input value. Added tests as well.
2020-04-05 10:56:23 +02:00
..
Heap LibJS: Disable HEAP_DEBUG logging on non-SerenityOS platforms 2020-03-25 09:49:14 +01:00
Runtime LibJS: Add support for Math.ceil() and Math.trunc() 2020-04-05 10:56:23 +02:00
Tests LibJS: Add support for Math.ceil() and Math.trunc() 2020-04-05 10:56:23 +02:00
AST.cpp LibJS: Clean up the anonymous wrapper block in "for" using ScopeGuard 2020-04-05 00:24:32 +02:00
AST.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Forward.h LibJS: Correctly forward declare "Argument" as a struct 2020-04-04 10:46:00 +02:00
Interpreter.cpp LibJS: Don't return the "last computed value" from Interpreter::run() 2020-04-04 23:45:13 +02:00
Interpreter.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Lexer.cpp LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Lexer.h LibJS: Lex single quote strings, escaped chars and unterminated strings 2020-03-14 12:13:53 +01:00
Makefile LibJS: Add NumberObject and make to_object() on number values create it 2020-04-04 23:13:13 +02:00
Parser.cpp LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Parser.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00
Token.cpp LibJS: Hack the lexer to allow numbers with decimals 2020-04-04 23:13:48 +02:00
Token.h LibJS: Add support for "continue" inside "for" statements :^) 2020-04-05 00:22:42 +02:00