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:
Peter Gal
2015-08-05 11:30:45 +02:00
parent 5888401318
commit fe0ec9d7fa
3 changed files with 3 additions and 10 deletions
@@ -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)