mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
15 lines
292 B
Text
15 lines
292 B
Text
x instanceof f: true
|
|
x instanceof b: true
|
|
y instanceof f: true
|
|
y instanceof b: true
|
|
|
|
Changing prototype
|
|
|
|
x instanceof f: false
|
|
x instanceof b: false
|
|
y instanceof f: false
|
|
y instanceof b: false
|
|
Bound function prototype
|
|
|
|
f.hasOwnProperty('prototype'): true
|
|
b.hasOwnProperty('prototype'): false
|