Generate non-contiguous ranges of values by mapping integer values to constant
Rest
// generate alphanumeric values (a-z0-9)mapToConstant( { num: 26, build: v => String.fromCharCode(v + 0x61) }, { num: 10, build: v => String.fromCharCode(v + 0x30) },) Copy
// generate alphanumeric values (a-z0-9)mapToConstant( { num: 26, build: v => String.fromCharCode(v + 0x61) }, { num: 10, build: v => String.fromCharCode(v + 0x30) },)
Since 1.14.0
Generate non-contiguous ranges of values by mapping integer values to constant