jdk/test/javax/script/Test2.js
author prr
Thu, 18 Dec 2014 10:45:45 -0800
changeset 29908 83e2c403fefd
parent 2 90ce3da70b43
permissions -rw-r--r--
8067050: Better font consistency checking Reviewed-by: bae, srl, mschoene

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

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