nashorn/test/script/basic/funcbind3.js.EXPECTED
author serb
Thu, 30 Jul 2015 15:27:02 +0300
changeset 32126 6611b32dfa58
parent 16228 df28320aa080
permissions -rw-r--r--
8132382: [macosx] Crash during JMC or JavaFX execution when NSApplication is controlled by SWT or JavaFX libraries Reviewed-by: kizune, alexsch
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