nashorn/test/script/basic/funcbind3.js.EXPECTED
author sundar
Wed, 06 May 2015 20:04:42 +0530
changeset 30394 72a59e4dffea
parent 16228 df28320aa080
permissions -rw-r--r--
8079470: Misleading error message when explicit signature constructor is called with wrong arguments Reviewed-by: jlaskey, 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