nashorn/test/script/basic/funcbind3.js.EXPECTED
author hannesw
Fri, 03 Feb 2017 13:28:00 +0100
changeset 43555 1bb10bccf057
parent 16228 df28320aa080
permissions -rw-r--r--
8173888: Test for JDK-8169481 causes stack overflows in parser tests Reviewed-by: jlaskey, sundar

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