nashorn/test/script/basic/funcbind3.js.EXPECTED
author attila
Fri, 26 Apr 2013 09:20:37 +0200
changeset 17249 a2014831ae7a
parent 16228 df28320aa080
permissions -rw-r--r--
8013325: function named 'arguments' should set DEFINES_ARGUMENTS flag in its parent, not itself Reviewed-by: hannesw, 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