This creates a range of numbers
Category: Math
Created on: Wednesday, September 25, 2024 at 9:15:25 PM
Updated on: Wednesday, September 25, 2024 at 9:15:25 PM
[
{
"type": "number",
"help": "This provides the start number",
"defaultValue": "0"
},
{
"type": "number",
"help": "This provides the end number",
"defaultValue": "0xff"
}
]
class range {
encode(input, min, max) {
return Array.from({ length: max - min + 1 }, (_, i) => min + i);
}
}