This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Potential usage of reserved keywords in Parser.getterFn #9131
Closed
Description
At the line 928:
: '((l&&l.hasOwnProperty("' + key + '"))?l:s)') + '.' + key + ';\n';
should be replaced to
: '((l&&l.hasOwnProperty("' + key + '"))?l:s)') + '["' + key + '"];\n';
as the key
can potential be a reserved keyword like float, class, for. I know about 1 instance where the key
is "in" which is part of the for (k in o)
syntax.