2015-03-09 14:44:10 +00:00
|
|
|
with_stat.js:2:1 "with" statement cannot be used in strict mode
|
|
|
|
|
|
|
|
with({}) {}
|
|
|
|
^
|
|
|
|
with_stat.js:2:7 Expected ; but found )
|
|
|
|
|
|
|
|
with({}) {}
|
|
|
|
^
|
2016-04-27 13:50:33 +00:00
|
|
|
repeat_param.js:2:18 strict mode function cannot have duplicate parameter name "x"
|
2015-03-09 14:44:10 +00:00
|
|
|
|
|
|
|
function func(x, x) {}
|
2016-04-27 13:50:33 +00:00
|
|
|
^
|
2015-03-09 14:44:10 +00:00
|
|
|
repeat_prop.js:2:22 Property "foo" already defined
|
|
|
|
|
|
|
|
var obj = { foo: 34, foo: 'hello' };
|
|
|
|
^
|