Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibJS: Optimize & Bring String.prototype.repeat closer to the spec
Specifically, we immediately return an empty string when `this` is an empty string, instead of wasting time in a loop doing nothing N times.
- Loading branch information