nashorn/test/script/basic/evalreturn.js.EXPECTED
author serb
Thu, 30 Jul 2015 15:27:02 +0300
changeset 32126 6611b32dfa58
parent 31193 f019295fdeb3
permissions -rw-r--r--
8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries Reviewed-by: kizune, alexsch
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
31193
f019295fdeb3 8086052: Script evaluation should not return last function declaration
hannesw
parents: 16147
diff changeset
     8
undefined
f019295fdeb3 8086052: Script evaluation should not return last function declaration
hannesw
parents: 16147
diff changeset
     9
function() { print('moist and delicious!'); }
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
moist and delicious!
31193
f019295fdeb3 8086052: Script evaluation should not return last function declaration
hannesw
parents: 16147
diff changeset
    11
function() { print('sweet and crunchy!'); }
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
sweet and crunchy!