Array.prototype.reduce() fixes.
JerryScript-DCO-1.0-Signed-off-by: Laszlo Vidacs lvidacs.u-szeged@partner.samsung.com
This commit is contained in:
@@ -28,6 +28,7 @@ try {
|
||||
// check for init value
|
||||
try {
|
||||
[].reduce(func);
|
||||
assert(false);
|
||||
}
|
||||
catch(e) {
|
||||
assert(e instanceof TypeError);
|
||||
|
||||
Reference in New Issue
Block a user