Implements https://github.com/tc39/ecma262/pull/895.
<rdar://problem/106035527>
Pull request: https://github.com/WebKit/WebKit/pull/10805
Committed 260957@main (235640089671): <https://commits.webkit.org/260957@main> Reviewed commits have been landed. Closing PR #10805 and removing active labels.