mathiasbynens/String.prototype.repeat — pull request #3 by spadgos (2013-12-20 14:39:01+00:00)
Title: Removes unnecessary check for n == 0

The while loop just below handles that case.