stylelint-bundle-worker.js
function splice(str, token, replacement) {
  var i = str.indexOf(token);
  return str.substr(0, i) + replacement
    + str.substr(i + token.length);
}
function splice(str, token, replacement) {
  var i = str.indexOf(token);
  return str.substr(0, i) + replacement
    + str.substr(i + token.length);
}
function splice ( str , token , replacement ) { var i = str . indexOf ( token ) ; return str . substr ( 0 , i ) + replacement + str . substr ( i + token . length ) ; }
Faster alternative to `String.replace()` when the
index of the token to be replaces can't be supplied
Faster alternative to String . replace () when the index of the token to be replaces can t be supplied