diff options
author | Linus Groh <mail@linusgroh.de> | 2020-10-27 19:30:27 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-28 21:11:32 +0100 |
commit | b5bd05b71732ebfdbd1e94571e717be885d9e458 (patch) | |
tree | 467ecde56b88eb9a0e520a4555a8e70f25411677 /Userland/test-js.cpp | |
parent | b4e51249e95ca891dad26c3763788c85d54903e5 (diff) | |
download | serenity-b5bd05b71732ebfdbd1e94571e717be885d9e458.zip |
LibJS: Don't parse numeric literal containing 8 or 9 as octal
If the value has a leading zero (allowed in non-strict mode) but
contains the digits 8 or 9 it can't be an octal number.
Diffstat (limited to 'Userland/test-js.cpp')
0 files changed, 0 insertions, 0 deletions