nashorn/test/script/basic/evalreturn.js.EXPECTED
author sundar
Mon, 24 Jun 2013 19:06:01 +0530
changeset 18614 addca7a10167
parent 16147 e63b63819133
child 31193 f019295fdeb3
permissions -rw-r--r--
8015959: Can't call foreign constructor Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
99
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
world
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
1
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
hello
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
Scoping OK
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
function cake() { print('moist and delicious!'); }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
moist and delicious!
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
function cookie() { print('sweet and crunchy!'); }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
sweet and crunchy!