view test/script/basic/JDK-8157160.js.EXPECTED @ 1689:c24beef07d1b

8157160: JSON.stringify does not work on ScriptObjectMirror objects Reviewed-by: hannesw, mhaupt
author sundar
date Wed, 18 May 2016 14:08:38 +0530
parents
children
line wrap: on
line source
{"foo":42}
[5,6,76,7]
"hello"
{"name":"nashorn","versions":["es5.1","es6"]}
true
{"x":42,"y":"hello"}
"my json representation"
"value from toJSON function"
{"foo":"HELLO"}