ClojureScript:
Clojure:
CLJS-3295.patch adds generative tests that exhibit the issue and then adds a branch in the production code path to handle it.
An upstream JavaScriptCore bug has been fixed, which will make for a simpler test case for this ticket (removal of a workaround for the JavaScriptCore defect): https://bugs.webkit.org/show_bug.cgi?id=220687