nashorn/test/script/basic/funcbind3.js.EXPECTED
author hannesw
Wed, 25 Jun 2014 14:36:24 +0200
changeset 25243 7a1edca6ce94
parent 16228 df28320aa080
permissions -rw-r--r--
8048079: Persistent code store is broken after optimistic types merge Reviewed-by: sundar, jlaskey, attila

x instanceof f: true
x instanceof b: true
y instanceof f: true
y instanceof b: true

Changing prototype

x instanceof f: false
x instanceof b: false
y instanceof f: false
y instanceof b: false
Bound function prototype

f.hasOwnProperty('prototype'): true
b.hasOwnProperty('prototype'): false