We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20604d7 commit dcbdd5dCopy full SHA for dcbdd5d
es6-shim.js
@@ -651,7 +651,7 @@
651
var hasStringTrimBug = ws.trim() || '\u0085\u002B'.trim().length !== 2;
652
if (hasStringTrimBug) {
653
delete String.prototype.trim;
654
- var wsRegexpChars = '[' + ws + '][' + ws + ']*';
+ var wsRegexChars = '[' + ws + '][' + ws + ']*';
655
var trimBeginRegexp = new RegExp('^' + wsRegexChars);
656
var trimEndRegexp = new RegExp(wsRegexChars + '$');
657
defineProperties(String.prototype, {
0 commit comments