jdk/test/javax/script/Test2.js
author ohair
Wed, 01 Apr 2009 09:44:34 -0700
changeset 2404 53312b79bb4b
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?";
}