This commit is contained in:
Timo Hocker 2020-03-30 11:01:51 +02:00
parent d849b45223
commit f921ff783e

View File

@ -48,9 +48,9 @@ function copy_object (obj) {
/** /**
* run a regular expression and callback for every result * run a regular expression and callback for every result
* *
* @param regex regular expression * @param {any} regex regular expression
* @param data data to run on * @param {any} data data to run on
* @param func function to execute * @param {any} func function to execute
*/ */
function run_regex (regex, data, func) { function run_regex (regex, data, func) {
let res = regex.exec (data); let res = regex.exec (data);
@ -61,7 +61,6 @@ function run_regex (regex, data, func) {
} }
module.exports = { module.exports = {
truncate_decimal, truncate_decimal,
try_parse_json, try_parse_json,