1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 08:24:58 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Matthew Olsson
c35732c011 LibJS: Add object literal getter/setter shorthand
Adds support for the following syntax:

let foo = {
    get x() {
        // ...
    },
    set x(value) {
        // ...
    }
}
2020-05-22 10:59:05 +02:00