Closed
Bug 420925
Opened 16 years ago
Closed 13 years ago
Incorrect error message when missing argument to map()
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
js> [1,2,3,4].map() typein:1: TypeError: [1, 2, 3, 4].map() is not a function Expected: Something to the effect of "The first argument to Array.prototype.map must be a function" or "Not enough arguments to Array.prototype.map". Might be related to bug 353081.
Comment 1•13 years ago
|
||
Today we get: "missing argument 0 when calling function [1, 2, 3, 4].map"
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•13 years ago
|
||
Excellent.
You need to log in
before you can comment on or make changes to this bug.
Description
•