Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
var defineProperties = require('define-properties');
var callBind = require('es-abstract/helpers/callBind');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var polyfill = callBind.apply(getPolyfill());
// eslint-disable-next-line no-unused-vars
var bound = function assign(target, source1) {
return polyfill(Object, arguments);
};
defineProperties(bound, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});
module.exports = bound;
'use strict';
var define = require('define-properties');
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');
var callBind = require('es-abstract/helpers/callBind');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var bound = callBind.apply(getPolyfill());
var boundPadEnd = function padEnd(str, maxLength) {
RequireObjectCoercible(str);
var args = [maxLength];
if (arguments.length > 2) {
args.push(arguments[2]);
}
return bound(str, args);
};
define(boundPadEnd, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});
'use strict';
var define = require('define-properties');
var RequireObjectCoercible = require('es-abstract/2019/RequireObjectCoercible');
var callBind = require('es-abstract/helpers/callBind');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var bound = callBind.apply(getPolyfill());
var boundPadStart = function padStart(str, maxLength) {
RequireObjectCoercible(str);
var args = [maxLength];
if (arguments.length > 2) {
args.push(arguments[2]);
}
return bound(str, args);
};
define(boundPadStart, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});