Performance-wise, which is the fastest way of repeating a string in JavaScript?
Answer
Correct Answer: String.prototype.repeat = function( num ) { return new Array( num + 1 ).join( this ); }
Explanation:
Note: This Question is unanswered, help us to find answer for this one