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
immosquare-cleaner-0.1.52 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.51 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.50 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.49 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.48 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.47 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.46 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.45 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.44 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.43 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.42 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.41 node_modules/core-js/modules/es6.function.name.js
immosquare-cleaner-0.1.40 node_modules/core-js/modules/es6.function.name.js
optimacms-0.1.61 spec/dummy/node_modules/babel-runtime/node_modules/core-js/modules/es6.function.name.js
ilog-0.4.1 node_modules/babel-runtime/node_modules/core-js/modules/es6.function.name.js
ilog-0.4.1 node_modules/babel-register/node_modules/core-js/modules/es6.function.name.js
ilog-0.4.0 node_modules/babel-register/node_modules/core-js/modules/es6.function.name.js
ilog-0.4.0 node_modules/babel-runtime/node_modules/core-js/modules/es6.function.name.js
ilog-0.3.3 node_modules/babel-runtime/node_modules/core-js/modules/es6.function.name.js
ilog-0.3.3 node_modules/babel-register/node_modules/core-js/modules/es6.function.name.js