nashorn/test/script/basic/NASHORN-136.js.EXPECTED
author thartmann
Mon, 02 Jun 2014 08:07:29 +0200
changeset 24923 9631f7d691dc
parent 16147 e63b63819133
permissions -rw-r--r--
8034812: remove IDX_INIT macro hack in Node class Summary: The IDX_INIT macro used by Node::Node(...) to retrieve the Compile object is removed and replaced by a call to Compile::current(). The Node constructor, new operator and all calls to it are adapted accordingly. Reviewed-by: kvn, jrose, iveresov, goetz

obj1.valueOf
obj1 is 1
obj1.valueOf
11
obj2.valueOf
obj2 is 2
obj2.valueOf
24
obj1.valueOf
obj2.valueOf
3
obj3.toString
world12
obj3.toString
hello world
obj1.valueOf
obj3.toString
1world
obj2.valueOf
obj3.toString
2world
obj3.toString
obj3.toString
worldworld