Object.values(({ "foo bar"() { } }))[0].name expected result should be "foo bar"
<rdar://problem/116406865>
Found the issue. This issue does not manifest in the jsc shell but does on webpages. The reason is due a site specific quirk (introduced back in 2016) to work around the mathjs framework (at https://github.com/josdejong/mathjs) not supporting ES6 function names that can contain white space. See https://bugs.webkit.org/show_bug.cgi?id=157246. Now that mathjs no longer has the offending code, plus both Chrome and Firefox has caught up to the ES6 spec on this, it's time to remove this quirk.
Pull request: https://github.com/WebKit/WebKit/pull/18612
Committed 268838@main (17d73b1570a4): <https://commits.webkit.org/268838@main> Reviewed commits have been landed. Closing PR #18612 and removing active labels.