blob: 673a4e6f1398497be6380bc6c926d8ea73c227e9 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001if (Testobj.getVal() != 'Hello World') {
2 throw "unexpected value";
3}
4
5Testobj = "a string";
6if (Testobj.getVal != undefined ||
7 Testobj != 'a string') {
8 throw "can' change Testobj?";
9}