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