test/script/basic/funcconstructor.js.EXPECTED

changeset 3
da1e581c933b
child 316
295c91f5fdde
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/script/basic/funcconstructor.js.EXPECTED	Fri Dec 21 16:36:24 2012 -0400
     1.3 @@ -0,0 +1,10 @@
     1.4 +anon func
     1.5 +225
     1.6 +function (x) {
     1.7 +print('anon func'); return x*x;
     1.8 +}
     1.9 +syntax error? true
    1.10 +SyntaxError: <function>:2:13 Missing close quote
    1.11 +print('hello)
    1.12 +             ^
    1.13 +done

mercurial