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