Files
ladybird/Libraries/LibJS
Linus Groh 9c8d390682 LibJS: Refactor Accessor
This changes Accessor's m_{getter,setter} from Value to Function* which
seems like a better API to me - a getter/setter must either be a
function or missing, and the creation of an accessor with other values
must be prevented by the parser and Object.defineProperty() anyway.

Also add Accessor::set_{getter,setter}() so we can reuse an already
created accessor when evaluating an ObjectExpression with getter/setter
shorthand syntax.
2020-05-24 18:49:58 +02:00
..
2020-05-24 18:49:58 +02:00
2020-05-24 18:49:58 +02:00
2020-05-17 18:05:15 +02:00
2020-05-05 09:15:16 +02:00
2020-05-21 22:56:18 +02:00
2020-05-17 18:05:15 +02:00
2020-05-24 02:20:08 +02:00
2020-05-15 09:53:52 +02:00