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
29 lines (23 loc) • 430 B
JavaScript
/**
* @fileoverview Handle logging for ESLint
* @author Gyandeep Singh
*/
;
/* eslint no-console: "off" */
/* istanbul ignore next */
module.exports = {
/**
* Cover for console.log
* @returns {void}
*/
info(...args) {
console.log(...args);
},
/**
* Cover for console.error
* @returns {void}
*/
error(...args) {
console.error(...args);
}
};