jdk/test/javax/script/Test2.js
author art
Wed, 04 Mar 2009 18:10:48 +0300
changeset 2463 c90a9d542c79
parent 2 90ce3da70b43
permissions -rw-r--r--
6784816: Remove AWT tree lock from Container methods: getComponent, getComponents, getComponentCount Reviewed-by: anthony, dav

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

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