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) 352 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = extractValueFromThisExpression; /** * Extractor function for a ThisExpression type value node. * A this expression is using `this` as an identifier. * * @returns - 'this' as a string. */ function extractValueFromThisExpression() { return 'this'; }