Matthew Olsson
|
dd49ec17a2
LibJS: Implement spec-complient instance_of operation
|
5 years ago |
Andreas Kling
|
0166a1fa74
LibJS: Make NativeProperty a plain Cell instead of an Object
|
5 years ago |
Andreas Kling
|
8d56e6103e
LibJS: Make Value::to_object() take a GlobalObject&
|
5 years ago |
Matthew Olsson
|
39576b2238
LibJS: Add JSON.stringify
|
5 years ago |
Andreas Kling
|
10aebabf0b
LibJS: BigInts and Symbols values are cells and the GC needs this info
|
5 years ago |
Linus Groh
|
0ff9d7e189
LibJS: Add BigInt
|
5 years ago |
Linus Groh
|
5b88aa8e96
LibJS: Move Value::as_accessor() to Value.h
|
5 years ago |
Linus Groh
|
ead76377b0
LibM: Add INFINITY macro
|
5 years ago |
Linus Groh
|
8a94813007
LibM: Add NAN macro
|
5 years ago |
Marcin Gasperowicz
|
eadce65e04
LibJS: Implement standard semantics for relational operators (#2417)
|
5 years ago |
Linus Groh
|
4334a1b208
LibJS: Make Array.prototype.push() generic
|
5 years ago |
Matthew Olsson
|
45dfa094e9
LibJS: Add getter/setter support
|
5 years ago |
Linus Groh
|
36996bd720
LibJS: Rename to_{i32,size_t}() to as_{i32,size_t}() for clarity
|
5 years ago |
Linus Groh
|
476094922b
LibJS: Pass Interpreter& to Value::to_number() et al.
|
5 years ago |
Linus Groh
|
1a1394f7a2
LibJS: Change Value::to_object(Heap& -> Interpreter&)
|
5 years ago |
mattco98
|
4ced126704
LibJS: Add symbol objects
|
5 years ago |
Andreas Kling
|
c6ddbd1f3e
LibJS: Add side-effect-free version of Value::to_string()
|
5 years ago |
Linus Groh
|
8137f40b73
LibJS: Add Value::is_integer()
|
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
|
65dbe17dd7
LibJS: Add Value::to_size_t()
|
5 years ago |
Andreas Kling
|
698652a548
LibJS: Make Value::as_string() return a PrimitiveString reference
|
5 years ago |
Linus Groh
|
38ba13e912
LibJS: Implement Object.is()
|
5 years ago |
Andreas Kling
|
35aea2e454
LibJS: Stop using Optional<Value> in favor of Value's empty state
|
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
|
f0e7404480
LibJS: Implement bitwise left shift operator (<<)
|
5 years ago |
Andreas Kling
|
e72a537033
LibJS: Make Value::m_type default to Type::Empty
|
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 |