3789983e89
Reviewed-by: darcy, ihse
10 lines
196 B
JavaScript
10 lines
196 B
JavaScript
if (Testobj.getVal() != 'Hello World') {
|
|
throw "unexpected value";
|
|
}
|
|
|
|
Testobj = "a string";
|
|
if (Testobj.getVal != undefined ||
|
|
Testobj != 'a string') {
|
|
throw "can' change Testobj?";
|
|
}
|