- 
      
- 
        Save konfou/3dfa46afb0b4456cf56780f2ae4c75c5 to your computer and use it in GitHub Desktop. 
Revisions
- 
        konfou revised this gist Oct 25, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,3 @@ String.prototype.replaceAll = function(foo, bar) { return this.split(foo).join(bar); }; 
- 
        vielhuber created this gist Oct 25, 2017 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ 'this is a foo and a foobar'.split('foo').join('bar');