view test/script/basic/evalreturn.js.EXPECTED @ 1319:bd783ddc4333

8086052: Script evaluation should not return last function declaration Reviewed-by: sundar, attila
author hannesw
date Mon, 15 Jun 2015 15:37:01 +0200
parents da1e581c933b
children
line wrap: on
line source

99
world
1
undefined
undefined
hello
Scoping OK
undefined
function() { print('moist and delicious!'); }
moist and delicious!
function() { print('sweet and crunchy!'); }
sweet and crunchy!