test/script/basic/funcconstructor.js.EXPECTED

Thu, 12 Oct 2017 19:52:15 +0800

author
aoqi
date
Thu, 12 Oct 2017 19:52:15 +0800
changeset 1205
4112748288bb
parent 952
6d5471a497fb
permissions
-rw-r--r--

merge

     1 anon func
     2 225
     3 function (x) {
     4 print('anon func'); return x*x;
     5 }
     6 syntax error? true
     7 SyntaxError: <function>:1:13 Missing close quote
     8 print('hello)
     9              ^
    10 done

mercurial