Object constructor prototype should be set to Function.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
@@ -31,3 +31,5 @@ assert (Function_A.prototype.isPrototypeOf (Array) === false)
|
||||
|
||||
assert (Function_A.prototype.isPrototypeOf.call(0, 0) === false);
|
||||
assert (Function_A.prototype.isPrototypeOf.call(Function_A, 0) === false);
|
||||
|
||||
assert (Function.prototype.isPrototypeOf (Object) === true)
|
||||
|
||||
Reference in New Issue
Block a user