nashorn/test/script/basic/funcbind3.js.EXPECTED
author martin
Wed, 10 Dec 2014 09:23:00 -0800
changeset 28057 1a47ceecdba5
parent 16228 df28320aa080
permissions -rw-r--r--
8065804: JEP 171: Clarifications/corrections for fence intrinsics Reviewed-by: dholmes, shade, dl, psandoz

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