jdk/test/javax/script/Test2.js
author duke
Wed, 05 Jul 2017 17:52:05 +0200
changeset 10620 9df40a1578ef
parent 2 90ce3da70b43
permissions -rw-r--r--
Merge

if (Testobj.getVal() != 'Hello World') {
    throw "unexpected value";
}

Testobj = "a string";
if (Testobj.getVal != undefined ||
    Testobj != 'a string') {
    throw "can' change Testobj?";
}