nashorn/test/script/basic/undefined.js.EXPECTED
author sundar
Thu, 09 Jan 2014 19:23:34 +0530
changeset 22379 5181d08e3440
parent 16147 e63b63819133
permissions -rw-r--r--
8031359: Invocable.getInterface() works incorrectly if interface has default methods Reviewed-by: attila, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
x undefined? true
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
TypeError: Cannot read property "foo" from undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
TypeError: Cannot set property "bar" of undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
TypeError: Cannot read property "1" from undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
TypeError: Cannot set property "0" of undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
TypeError: Cannot read property "func" from undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
TypeError: Cannot delete property "0" of undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
TypeError: Cannot delete property "foo" of undefined
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
TypeError: undefined is not an Object
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
TypeError: Cannot apply "with" to undefined