(str)
| 14471 | return map |
| 14472 | } |
| 14473 | static _replaceNonAlphaNumericCharactersWithCharCodes(str) { |
| 14474 | return str |
| 14475 | .replace(/[^a-zA-Z0-9]/g, sub => { |
| 14476 | return "_" + sub.charCodeAt(0).toString() |
| 14477 | }) |
| 14478 | .replace(/^([0-9])/, "number$1") |
| 14479 | } |
| 14480 | static mapValues(object, fn) { |
| 14481 | const result = {} |
| 14482 | Object.keys(object).forEach(key => { |
no test coverage detected