Array.prototype.reduce() fixes.

JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs lvidacs.u-szeged@partner.samsung.com
This commit is contained in:
Laszlo Vidacs
2015-05-27 17:33:52 +02:00
committed by Peter Gal
parent f22f3c50e7
commit 95adf0e21f
2 changed files with 68 additions and 62 deletions
+1
View File
@@ -28,6 +28,7 @@ try {
// check for init value
try {
[].reduce(func);
assert(false);
}
catch(e) {
assert(e instanceof TypeError);