nashorn/test/script/basic/funcbind3.js.EXPECTED
author sundar
Thu, 09 Jan 2014 19:23:34 +0530
changeset 22379 5181d08e3440
parent 16228 df28320aa080
permissions -rw-r--r--
8031359: Invocable.getInterface() works incorrectly if interface has default methods Reviewed-by: attila, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16228
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     1
x instanceof f: true
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     2
x instanceof b: true
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     3
y instanceof f: true
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     4
y instanceof b: true
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     5
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     6
Changing prototype
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     7
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     8
x instanceof f: false
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
     9
x instanceof b: false
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    10
y instanceof f: false
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    11
y instanceof b: false
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    12
Bound function prototype
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    13
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    14
f.hasOwnProperty('prototype'): true
df28320aa080 8007900: Function binding is inefficient
attila
parents:
diff changeset
    15
b.hasOwnProperty('prototype'): false