test/nashorn/script/basic/evalreturn.js.EXPECTED
author mikael
Thu, 19 Apr 2018 17:13:19 -0700
changeset 49838 b37e0785ce0b
parent 47216 71c04702a3d5
permissions -rw-r--r--
8202052: Disable warnings when building libawt with VS2017 Reviewed-by: erikj, prr
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!