Wed, 17 Jun 2015 14:21:20 +0530
8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
lagergren@237 | 1 | test/script/error/JDK-8008814-2.js:32:2 In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead. |
attila@235 | 2 | function g() { |
attila@235 | 3 | ^ |