nashorn/test/script/nosecurity/parserapi_strict.js.EXPECTED
author sdama
Thu, 20 Jul 2017 19:56:34 +0530
changeset 45948 6158d5f70047
parent 37732 3673fec68d16
permissions -rw-r--r--
8184241: Fix nashorn/samples/filebrowser.js Summary: Fixed global/delegate field issue in case of overridden method called from super constructor Reviewed-by: hannesw, jlaskey Contributed-by: srinivas.dama@oracle.com

with_stat.js:2:1 "with" statement cannot be used in strict mode

with({}) {}
 ^
with_stat.js:2:7 Expected ; but found )

with({}) {}
       ^
repeat_param.js:2:18 strict mode function cannot have duplicate parameter name "x"

function func(x, x) {}
                  ^
repeat_prop.js:2:22 Property "foo" already defined

var obj = { foo: 34, foo: 'hello' };
                      ^