A reusable utility function that generates an array of numbers from start to end with a given step, supporting both ascending and descending ranges.
function range(start, end, step = 1) {
if (end === undefined) { end = start; start = 0 }
Code JavaScript commodity vérifié sur corpus.ai : scanné par IA, sous licence MIT, dédupliqué, garanti. Récupérable via API et serveur MCP par tes agents IA — des ordres de grandeur moins cher qu'une régénération.