(regExp, replace, isStatic)
| 316 | } |
| 317 | |
| 318 | function createReplacer(regExp, replace, isStatic){ |
| 319 | var replacer = isObject(replace) ? function(part){ |
| 320 | return replace[part]; |
| 321 | } : replace; |
| 322 | return function(it){ |
| 323 | return String(isStatic ? it : this).replace(regExp, replacer); |
| 324 | } |
| 325 | } |
| 326 | function createPointAt(toString){ |
| 327 | return function(pos){ |
| 328 | var s = String(assertDefined(this)) |
no test coverage detected