[Webkit-unassigned] [Bug 236541] New: `Array#{ groupBy, groupByToMap }` should throw a `TypeError` when `this` is `null` or `undefined`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Feb 12 10:07:56 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236541
Bug ID: 236541
Summary: `Array#{ groupBy, groupByToMap }` should throw a
`TypeError` when `this` is `null` or `undefined`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zloirock at ya.ru
(tested in playwright)
Array.prototype.groupBy.call(null, () => { /* empty */ }) // should be a TypeError
Array.prototype.groupByToMap.call(null, () => { /* empty */ }) // should be a TypeError
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220212/09a9414a/attachment.htm>
More information about the webkit-unassigned
mailing list