Mon, 29 Apr 2013 23:22:20 +0200
8008814: Configurable ignore/warning/error behavior for function declaration as statement
Reviewed-by: jlaskey, sundar
attila@235 | 1 | test/script/error/NASHORN-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 | ^ |