Created
          November 14, 2013 13:23 
        
      - 
      
 - 
        
Save argshook/7466710 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
argshook revised this gist
Nov 14, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This 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 @@ -4,4 +4,4 @@ String.prototype.repeat = function(times) { var str = "1".repeat(3); console.log(str); // 111  - 
        
argshook created this gist
Nov 14, 2013 .There are no files selected for viewing
This 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,7 @@ String.prototype.repeat = function(times) { return (new Array(times + 1)).join(this); }; var str = "1".repeat(3); console.log(str);