nashorn/test/script/nosecurity/parserapi_strict.js.EXPECTED
author mhaupt
Wed, 20 Jan 2016 09:56:29 +0100
changeset 35324 b9b0e5fdc996
parent 29407 3fd4ede1581e
child 37732 3673fec68d16
permissions -rw-r--r--
8144113: enable jjs testing Reviewed-by: mhaupt, sundar 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: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' };
                      ^