You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using core-js@3.8.1 and I've noticed that String.prototype.replaceAll polyfill has a bug. It should support an algorithm defined by special replacements patterns.
POC:
'foo.bar'.replaceAll('.','$$$$$');
This call actually returns foo$$$$$bar but it should return foo$$$bar instead.
The text was updated successfully, but these errors were encountered:
I'm using core-js@3.8.1 and I've noticed that
String.prototype.replaceAll
polyfill has a bug. It should support an algorithm defined by special replacements patterns.POC:
This call actually returns
foo$$$$$bar
but it should returnfoo$$$bar
instead.The text was updated successfully, but these errors were encountered: