flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
16
VISUALIZACION/node_modules/core-js/modules/es6.function.name.js
generated
vendored
Executable file
16
VISUALIZACION/node_modules/core-js/modules/es6.function.name.js
generated
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
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 '';
|
||||
}
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue