Linus Groh
|
1ba2e6768d
LibJS: Implement indexed access for StringObject
|
5 years ago |
Linus Groh
|
62671bea68
LibJS: Add Object::has_property()
|
5 years ago |
Linus Groh
|
4cdd802927
LibJS: Return a bool from Object::put* to indicate success
|
5 years ago |
mattco98
|
683a0696f3
LibJS: Add Object.{keys,values,entries}()
|
5 years ago |
Linus Groh
|
4bdb6daac5
LibJS: Handle non-string primitive values in Object::to_string()
|
5 years ago |
Linus Groh
|
2c6e7dbd07
LibJS: Throw error in Object::to_string() if string conversion fails
|
5 years ago |
mattco98
|
95abcc3722
LibJS: Implement correct object property ordering
|
5 years ago |
Andreas Kling
|
aaf35112a4
LibJS: Pass JS::Function around by reference more
|
5 years ago |
mattco98
|
23ec578a01
LibJS: Implement correct attributes for (almost) all properties
|
5 years ago |
Andreas Kling
|
2778d077e5
LibJS: Grow storage when adding a property to uniquely-shaped Object
|
5 years ago |
Andreas Kling
|
f897c41092
LibJS: Implement basic support for the "delete" operator
|
5 years ago |
Andreas Kling
|
35aea2e454
LibJS: Stop using Optional<Value> in favor of Value's empty state
|
5 years ago |
Andreas Kling
|
3072f9fd82
LibJS: Move the empty object shape from Interpreter to GlobalObject
|
5 years ago |
Andreas Kling
|
fca08bd000
LibJS: Move builtin prototypes to the global object
|
5 years ago |
Andreas Kling
|
bc1ece7f37
LibJS+LibWeb: Pass prototype to Object constructor
|
5 years ago |
Andreas Kling
|
f6d57c82f6
LibJS: Pass prototype to Function constructors
|
5 years ago |
Linus Groh
|
eece424694
LibJS: Make Function and CallFrame aware of their function name
|
5 years ago |
Andreas Kling
|
e5da1cc566
LibJS: Throw real TypeError, ReferenceError, etc objects
|
5 years ago |
Andreas Kling
|
8286f8b996
LibJS: Add property configuration transitions
|
5 years ago |
Andreas Kling
|
e6d920d87d
LibJS: Add Object.defineProperty() and start caring about attributes
|
5 years ago |
Andreas Kling
|
f07f8d5a44
LibJS: Add "constructor" property to constructor prototypes
|
5 years ago |
Andreas Kling
|
bdffc9e7fb
LibJS: Support array holes, encoded as empty JS::Value
|
5 years ago |
Andreas Kling
|
be019f28ca
LibJS: Add a PropertyName class that represents a string or a number
|
5 years ago |
Andreas Kling
|
90ba0145f6
LibJS: Add a number-indexed property storage to all Objects
|
5 years ago |
Andreas Kling
|
67f7763ab9
LibJS: Object needs to protect values in its storage
|
5 years ago |
Andreas Kling
|
8bfee015bc
LibJS: Make Object::to_string() call the "toString" property if present
|
5 years ago |
Linus Groh
|
cd3e2690eb
LibJS: Set length property in Object::put_native_function()
|
5 years ago |
Andreas Kling
|
99aab4470a
LibJS: Object::put() shouldn't create own properties on prototype chain
|
5 years ago |
Andreas Kling
|
5e6e1fd482
LibJS: Start implementing object shapes
|
5 years ago |
Andreas Kling
|
1549c5c48b
LibJS: Make Value::as_object() return Object&
|
5 years ago |