jdk/test/javax/script/Test2.js
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
permissions -rw-r--r--
Initial load

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

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