UNPKG

serverless-artillery

Version:

A serverless performance testing tool. `serverless` + `artillery` = crush. a.k.a. Orbital Laziers [sic]

15 lines (12 loc) 322 B
'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; };