test/script/error/JDK-8008814-1.js.EXPECTED

Wed, 17 Jun 2015 14:21:20 +0530

author
sundar
date
Wed, 17 Jun 2015 14:21:20 +0530
changeset 1413
fb91ff186894
parent 237
ad28f2b52b12
child 952
6d5471a497fb
permissions
-rw-r--r--

8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila

     1 test/script/error/JDK-8008814-1.js:32:2 Function declarations can only occur at program or function body level. You should use a function expression here instead.
     2   function g() {
     3   ^

mercurial