1
0
mirror of https://gitlab.com/octtspacc/sitoctt synced 2025-03-16 19:20:18 +01:00

7 lines
197 B
JavaScript

if (!String.prototype.replaceAll) {
// https://stackoverflow.com/a/63958411
String.prototype.replaceAll = function replaceAll(search, replace) {
return this.split(search).join(replace);
};
};