Array.prototype.reduce() fixes.

JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs [email protected]
This commit is contained in:
Laszlo Vidacs authored and Peter Gal committed 2015-06-01 14:18:03 +02:00
1 parent f22f3c50e7
commit 95adf0e21f
2 files changed
+68 -62

No files matched your search

+1
View File
@@ -28,6 +28,7 @@ try {
// check for init value
try {
[].reduce(func);
assert(false);
}
catch(e) {
assert(e instanceof TypeError);