source:
trunk/openjdk/jdk/test/javax/script/Test2.js
Last change on this file was 2, checked in by , 15 years ago | |
---|---|
File size: 196 bytes |
Line | |
---|---|
1 | if (Testobj.getVal() != 'Hello World') { |
2 | throw "unexpected value"; |
3 | } |
4 | |
5 | Testobj = "a string"; |
6 | if (Testobj.getVal != undefined || |
7 | Testobj != 'a string') { |
8 | throw "can' change Testobj?"; |
9 | } |
Note:
See TracBrowser
for help on using the repository browser.