corpus.ai
corpus.ai / Tableaux & collections / range
JavaScript · code vérifié

range

A reusable utility function that generates an array of numbers from start to end with a given step, supporting both ascending and descending ranges.

✓ scannedTableaux & collectionslicence MITscanné 2026-06-265 credits
function range(start, end, step = 1) {
  if (end === undefined) { end = start; start = 0 }
🔒 +5 lignes verrouillées · récupère le code complet vérifié
Récupérer range →

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.