iPhone OS 14_4_2: Cannot redefine property: matchAll

Author: yiqian0907Created Feb 23, 2023Updated Feb 23, 2023
Labelsservice

User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)

It returns the Symbol.matchAll and Symbol.asyncIterator polyfill which is unnecessary on this phone because the iPhone OS 14_4_2 supports it.

Copy the returned polyfill js in the console and excute it, we will get the error Cannot redefine property: matchAll

Source: polyfillpolyfill/polyfill-service