refactor start
This commit is contained in:
parent
bd49791e06
commit
e46d25f0b7
16699 changed files with 2 additions and 1484887 deletions
9
home/ags/node_modules/es-abstract/helpers/isAbstractClosure.js
generated
vendored
9
home/ags/node_modules/es-abstract/helpers/isAbstractClosure.js
generated
vendored
|
|
@ -1,9 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
var functionName = require('function.prototype.name');
|
||||
|
||||
var anon = functionName(function () {});
|
||||
|
||||
module.exports = function isAbstractClosure(x) {
|
||||
return typeof x === 'function' && (!x.prototype || functionName(x) === anon);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue