1 2 3 4 5 6
var r = RegExp(""); var s = ""; s += "".replace(r, Function("x")); for (var x = 0; x < 5; x++) { s += "".replace(r, this); }