nashorn/test/script/basic/funcbind3.js.EXPECTED
author hannesw
Mon, 14 Dec 2015 14:27:46 +0100
changeset 34732 6605efbe8447
parent 16228 df28320aa080
permissions -rw-r--r--
8144020: Remove long as an internal numeric type Reviewed-by: attila, sundar, lagergren
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