esnext.function.is-constructor.js 334 B

123456789
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var isConstructor = require('../internals/is-constructor');
  4. // `Function.isConstructor` method
  5. // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md
  6. $({ target: 'Function', stat: true, forced: true }, {
  7. isConstructor: isConstructor
  8. });