jdk-24/nashorn/test/script/basic/funcbind3.js.EXPECTED
Attila Szegedi d50e3823e4 8007900: Function binding is inefficient
Reviewed-by: jlaskey, lagergren
2013-02-12 12:47:51 +01:00

16 lines
292 B
Plaintext

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