test/script/basic/es6/block-function-decl.js.EXPECTED

Fri, 31 Oct 2014 20:19:49 +0100

author
hannesw
date
Fri, 31 Oct 2014 20:19:49 +0100
changeset 1076
73ca7a752ba1
parent 991
b7a2db4de254
permissions
-rw-r--r--

8062583: Throwing object with error prototype causes error proto to be caught
Reviewed-by: sundar, jlaskey

     1 function f() {
     2         print("in f");
     3     }
     4 in f
     5 function f() {
     6         print("in f");
     7     }
     8 in f
     9 undefined
    10 ReferenceError: "f" is not defined

mercurial