Cross Reference: Test2.js
xref
: /
openjdk7
/
jdk
/
test
/
javax
/
script
/
Test2.js
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
Test2.js revision 0
if
(
Testobj
.
getVal
() !=
'Hello World'
) {
throw
"unexpected value"
;
}
Testobj
=
"a string"
;
if
(
Testobj
.
getVal
!=
undefined
||
Testobj
!=
'a string'
) {
throw
"can' change Testobj?"
;
}