function.js 263 B

1234567
  1. "use strict";
  2. /* eslint-disable @typescript-eslint/no-unsafe-function-type */
  3. Object.defineProperty(exports, "__esModule", { value: true });
  4. exports.getFunctionName = getFunctionName;
  5. function getFunctionName(fn) {
  6. return fn.name || '[anonymous Function]';
  7. }