Sha256: f1a17ceace45db9c5f48b57c3611425b996dee81f628115148acd2e77691718c

Contents?: true

Size: 355 Bytes

Versions: 33

Compression:

Stored size: 355 Bytes

Contents

var dP = require('./_object-dp').f;
var FProto = Function.prototype;
var nameRE = /^\s*function ([^ (]*)/;
var NAME = 'name';

// 19.2.4.2 name
NAME in FProto || require('./_descriptors') && dP(FProto, NAME, {
  configurable: true,
  get: function () {
    try {
      return ('' + this).match(nameRE)[1];
    } catch (e) {
      return '';
    }
  }
});

Version data entries

33 entries across 30 versions & 8 rubygems

Version Path
condenser-0.0.5 lib/condenser/processors/node_modules/core-js/modules/es6.function.name.js
optimacms-0.4.3 spec/dummy/node_modules/core-js/modules/es6.function.name.js
optimacms-0.4.2 spec/dummy/node_modules/core-js/modules/es6.function.name.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/core-js/modules/es6.function.name.js
lux_assets-0.2.11 ./node_modules/core-js/modules/es6.function.name.js
lux_assets-0.2.9 ./node_modules/core-js/modules/es6.function.name.js
lux_assets-0.2.4 ./node_modules/core-js/modules/es6.function.name.js
lux_assets-0.2.2 ./node_modules/core-js/modules/es6.function.name.js
lux_assets-0.2.1 ./node_modules/core-js/modules/es6.function.name.js
locomotivecms-3.4.0 app/javascript/node_modules/core-js/modules/es6.function.name.js
cortex-0.1.3 spec/dummy/node_modules/core-js/modules/es6.function.name.js
condenser-0.0.4 lib/condenser/processors/node_modules/core-js/modules/es6.function.name.js
dragonfly_puppeteer-0.1.0 node_modules/core-js/modules/es6.function.name.js