Closed friedemannsommer closed 7 years ago
Probably because it supported IE9 at some point? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Browser_compatibility
Ah makes sense. Thank you. But supported environments lists only IE11+
Wouldn't it easier to use the
String.prototype.trim
method instead of the while loop? vscode-loader/src/css.ts