nashorn/test/script/basic/funcbind3.js.EXPECTED
author sundar
Wed, 21 Aug 2013 17:28:53 +0530
changeset 19619 4085b74056ee
parent 16228 df28320aa080
permissions -rw-r--r--
8023368: Instance __proto__ property should exist and be writable. 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