diff options
author | Gal Horowitz <galush.horowitz@gmail.com> | 2021-06-11 18:43:28 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-11 17:25:14 +0100 |
commit | 0e10dec324e30ca138cc8b7b3f37c50075d0a3a0 (patch) | |
tree | 549e23698629bb20cb91f9f14d66fba1aeb079c3 /Userland/Applications | |
parent | 8b3f8879c1f45d701033b31337000fca4330b3f9 (diff) | |
download | serenity-0e10dec324e30ca138cc8b7b3f37c50075d0a3a0.zip |
LibJS: Parse only AssignmentExpressions in ComputedPropertyNames
The property name in an object literal can either be a literal or a
computed name, in which case any AssignmentExpression can be used, we
now only parse AssignmentExpression instead of the previous incorrect
behaviour which allowed any Expression (Specifically, comma
expressions).
Diffstat (limited to 'Userland/Applications')
0 files changed, 0 insertions, 0 deletions