Linus Groh
|
0c14ee035c
LibJS: Make string to number coercion work for doubles
|
5 years ago |
Linus Groh
|
063228c02e
LibJS: Handle empty values in operator<<()
|
5 years ago |
Matthew Olsson
|
532d4bc0ab
LibJS: Spec-compliant equality comparisons
|
5 years ago |
Linus Groh
|
eea62dd365
LibJS: Add Value::{is, as}_function()
|
5 years ago |
Linus Groh
|
79b829637e
LibJS: Implement most of the Reflect object
|
5 years ago |
Linus Groh
|
65dbe17dd7
LibJS: Add Value::to_size_t()
|
5 years ago |
Linus Groh
|
2c6e7dbd07
LibJS: Throw error in Object::to_string() if string conversion fails
|
5 years ago |
Andreas Kling
|
698652a548
LibJS: Make Value::as_string() return a PrimitiveString reference
|
5 years ago |
Linus Groh
|
da0ab16f01
LibJS: Don't handle arrays separately in Value::to_number()
|
5 years ago |
Andreas Kling
|
35aea2e454
LibJS: Stop using Optional<Value> in favor of Value's empty state
|
5 years ago |
Linus Groh
|
402ba20c36
LibJS: Fix left shift operator
|
5 years ago |
Linus Groh
|
11728b7db5
LibJS: Implement 'in' operator
|
5 years ago |
Linus Groh
|
396ecfa2d7
LibJS: Implement bitwise unsigned right shift operator (>>>)
|
5 years ago |
Linus Groh
|
502d1f5165
LibJS: Implement bitwise right shift operator (>>)
|
5 years ago |
Linus Groh
|
f0e7404480
LibJS: Implement bitwise left shift operator (<<)
|
5 years ago |
Andreas Kling
|
2a15323029
LibJS: Pass prototype to BooleanObject constructor
|
5 years ago |
Andreas Kling
|
298c606200
LibJS: Pass prototype to StringObject constructor
|
5 years ago |
Andreas Kling
|
cf702a13b9
LibJS: Pass prototype to NumberObject constructor
|
5 years ago |
Andreas Kling
|
fa30355194
LibJS: Adding two values should convert them to primitives first
|
5 years ago |
Andreas Kling
|
63499c2c9f
LibJS: Pass the Interpreter& to binary/logical/unary helpers
|
5 years ago |
Linus Groh
|
97de93eed1
LibJS: Add js_negative_infinity()
|
5 years ago |
Linus Groh
|
f226746394
LibJS: Handle Infinity in Value::to_number()
|
5 years ago |
Andreas Kling
|
ff33c5b286
LibJS: Let's show a few more decimals when stringifying numeric values
|
5 years ago |
Andreas Kling
|
e5da1cc566
LibJS: Throw real TypeError, ReferenceError, etc objects
|
5 years ago |
Andreas Kling
|
2ffa054574
LibJS: Add Value::to_double() for convenience
|
5 years ago |
Jack Karamanian
|
edae926cb0
LibJS: Add Boolean constructor object
|
5 years ago |
Jack Karamanian
|
57bd194e5a
LibJS: Return false for NaN numbers in Value::to_boolean()
|
5 years ago |
Andreas Kling
|
4fe14aab3b
LibJS: Inline JS::Value()
|
5 years ago |
Andreas Kling
|
bdffc9e7fb
LibJS: Support array holes, encoded as empty JS::Value
|
5 years ago |
Linus Groh
|
0403845d3e
LibJS: Implement exponentiation (** operator)
|
5 years ago |