8 lines
209 B
JavaScript
8 lines
209 B
JavaScript
|
'use strict';
|
||
|
|
||
|
var implementation = require('./implementation');
|
||
|
|
||
|
module.exports = function getPolyfill() {
|
||
|
return typeof String.prototype.padEnd === 'function' ? String.prototype.padEnd : implementation;
|
||
|
};
|