Here you can find the source of splice( idx, rem, s )
// Insert string at a specific index of another string String.prototype.splice = function( idx, rem, s ) { return (this.slice(0,idx) + s + this.slice(idx + Math.abs(rem))); };
String.prototype.splice = function( idx, rem, s ) { return (this.slice(0,idx) + s + this.slice(idx + Math.abs(rem))); };
String.prototype.splice = function( idx, rem, s ) { return (this.slice(0,idx) + s + this.slice(idx + Math.abs(rem))); };
String.prototype.splice = function( idx, rem, s ) { return (this.slice(0,idx) + s + this.slice(idx + Math.abs(rem))); };
String.prototype.splice = function ( idx, rem, s ) { return ( this.slice( 0, idx ) + s + this.slice( idx + Math.abs( rem ) ) );
String.prototype.splice = function(...args) { var x = this.split(""); x.splice(...args); return x.join(""); };
String.prototype.splice = function(addedStr, index){ var substr = this.slice(0, index) var rest = this.slice(index, this.length) return substr + addedStr + rest;