string.prototype.matchall
Version:
Spec-compliant polyfill for String.prototype.matchAll
19 lines (13 loc) • 398 B
JavaScript
var callBind = require('call-bind');
var define = require('define-properties');
var implementation = require('./implementation');
var getPolyfill = require('./polyfill');
var shim = require('./shim');
var boundMatchAll = callBind(implementation);
define(boundMatchAll, {
getPolyfill: getPolyfill,
implementation: implementation,
shim: shim
});
module.exports = boundMatchAll;
;