Closed tannal closed 1 month ago
There's another file where this pattern shows up: https://github.com/tc39/test262/blob/main/test/built-ins/Array/prototype/toString/non-callable-join-string-tag.js
Using the RegExp \}\s*=\s*Proxy\.revocable\(
to search for that pattern: https://searchfox.org/mozilla-central/search?q=%5C%7D%5Cs*%3D%5Cs*Proxy%5C.revocable%5C%28&path=js%2Fsrc%2Ftests%2Ftest262%2F&case=false®exp=true
We should be avoiding newer syntax in any test that doesn't require it.
Fixes #4218