Show More
Commit Description:
merge
Commit Description:
merge
References:
File last commit:
Show/Diff file:
Action:
node_modules/string.prototype.trimleft/polyfill.js | 14 lines | 322 B | application/javascript | JavascriptLexer |
'use strict';
var implementation = require('./implementation');
module.exports = function getPolyfill() {
if (!String.prototype.trimLeft) {
return implementation;
}
var zeroWidthSpace = '\u200b';
if (zeroWidthSpace.trimLeft() !== zeroWidthSpace) {
return implementation;
}
return String.prototype.trimLeft;
};