UNPKG

luhn-generator

Version:

A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm

15 lines (14 loc) 383 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = extractValueFromNewExpression; /** * Extractor function for a NewExpression type value node. * A new expression instantiates an object with `new` keyword. * * @returns - an empty object. */ function extractValueFromNewExpression() { return new Object(); // eslint-disable-line }