nashorn/test/script/nosecurity/parserapi_strict.js.EXPECTED
author chegar
Wed, 10 Feb 2016 22:58:27 +0000
changeset 35743 80ba74046cf1
parent 29407 3fd4ede1581e
child 37732 3673fec68d16
permissions -rw-r--r--
8148861: Update jaxws to use the new non-inheriting thread-local Thread constructor Reviewed-by: mkos, mchung

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:15 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' };
                      ^