Skip to content

Commit dcbdd5d

Browse files
committed
typo
1 parent 20604d7 commit dcbdd5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

es6-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
var hasStringTrimBug = ws.trim() || '\u0085\u002B'.trim().length !== 2;
652652
if (hasStringTrimBug) {
653653
delete String.prototype.trim;
654-
var wsRegexpChars = '[' + ws + '][' + ws + ']*';
654+
var wsRegexChars = '[' + ws + '][' + ws + ']*';
655655
var trimBeginRegexp = new RegExp('^' + wsRegexChars);
656656
var trimEndRegexp = new RegExp(wsRegexChars + '$');
657657
defineProperties(String.prototype, {

0 commit comments

Comments
 (0)