view test/script/error/JDK-8008814-2.js.EXPECTED @ 232:630372cb8f2a

8008814: Configurable ignore/warning/error behavior for function declaration as statement Reviewed-by: jlaskey, sundar
author attila
date Mon, 29 Apr 2013 23:22:20 +0200
parents
children ad28f2b52b12
line wrap: on
line source
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.
  function g() {
  ^