NewExpression.js 383 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = extractValueFromNewExpression;
  6. /**
  7. * Extractor function for a NewExpression type value node.
  8. * A new expression instantiates an object with `new` keyword.
  9. *
  10. * @returns - an empty object.
  11. */
  12. function extractValueFromNewExpression() {
  13. return new Object(); // eslint-disable-line
  14. }