archives

« Bugzilla Issues Index

#871 — 15.4.4.18 Array.prototype.forEach ( callbackfn [ , thisArg ] )


To match the use of parameter defaults in newer APIs (ie. Map.prototype.forEach(callbackFn, thisArg = undefined), should this be updated to:

Array.prototype.forEach ( callbackfn, thisArg = undefined )


If yes, then the following should also be updated:


15.4.4.16 Array.prototype.every ( callbackfn [ , thisArg ] )
15.4.4.17 Array.prototype.some ( callbackfn [ , thisArg ] )
15.4.4.19 Array.prototype.map ( callbackfn [ , thisArg ] )
15.4.4.20 Array.prototype.filter ( callbackfn [ , thisArg ] )


fixed in rev21 editor's draft


fixed in rev21 draft