nashorn/test/script/error/JDK-8008814-1.js.EXPECTED
author attila
Mon, 29 Apr 2013 23:22:20 +0200
changeset 17257 a2232050cd8f
child 17259 a8d0cb25d725
permissions -rw-r--r--
8008814: Configurable ignore/warning/error behavior for function declaration as statement Reviewed-by: jlaskey, sundar

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