961:93b032dd26bc | 962:ac62e33a99b0 |
---|---|
32 fail("String.prototype.replace failed to handle '$' as replacement"); | 32 fail("String.prototype.replace failed to handle '$' as replacement"); |
33 } | 33 } |
34 | 34 |
35 if ("hello".replace("o", "$x") != "hell$x") { | 35 if ("hello".replace("o", "$x") != "hell$x") { |
36 fail("String.prototype.replace failed to handle '$x' as replacement"); | 36 fail("String.prototype.replace failed to handle '$x' as replacement"); |
37 } | 37 } |