UNPKG

function.prototype.name

Version:

An ES2015 spec-compliant `Function.prototype.name` shim

19 lines (13 loc) 374 B
'use strict'; var define = require('define-properties'); var callBind = require('call-bind'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var shim = require('./shim'); var bound = callBind(implementation); define(bound, { getPolyfill: getPolyfill, implementation: implementation, shim: shim }); module.exports = bound;