
Imprimir de 0 a N
Visual C++ .NET
Publicado el 6 de Febrero del 2020 por Eder
1.079 visualizaciones desde el 6 de Febrero del 2020
Contar desde 0 hasta N
randomNumbers(3); // [2, 0, 1]
randomNumbers(5); // [3, 2, 0, 1, 4]
randomNumbers(0); // []
randomNumbers(10); // [5, 9, 2, 0, 1, 3, 6, 8, 7, 4]
unique([1,2,3,3,4,5]); // [1, 2, 3, 4, 5]
unique([]); // []
unique("data"); // ["d", "a", "t"]
unique(""); // []
randomNumbers(10) // [1, 3, 5, 2, 8, 0, 6, 9, 4, 7]
hourFormat(""); // 00:00:00
hourFormat(5); // 00:00:05
hourFormat(10); // 00:00:10
hourFormat(12); // 00:00:12
hourFormat(120); // 00:01:20
hourFormat(1010); // 00:10:10
hourFormat(1532); // 00:15:32
hourFormat(5551532); // 00:00:00
hourFormat(101010); // 10:10:10
hourFormat(70); // 00:00:00
hourFormat(2410); // 00:24:10
hourFormat(5555); // 00:24:10
hourFormat("2"); // 00:00:02
hourFormat("1717"); // 00:17:17
hourFormat("120000"); // 12:00:00
hourFormat("240000"); // 00:00:00
hourFormat("206000"); // 00:00:00
hourFormat("200060"); // 00:00:00
hourFormat("235959"); // 23:59:59
withoutElements([1, 3, 3, 4, 5, 6]); // [1, 3, 3, 4, 5, 6]
withoutElements([1, 3, 3, 4, 5, 6], 3); // [1, 4, 5, 6]
withoutElements([1, 3, 3, 4, 5, 6], 3, 4); // [1, 5, 6]
withoutElements([1, 3, 3, 4, 5, 6], 3, 4, 5, 6); // [1]
withoutElements([1, 3, 3, 4, 5, 6], 3, 4, 5, 6, 1); // []
getURLParameters('http://url.com/index.php?name=Jhon&surname=Smith'); // {name: 'Jhon', surname: 'Smith'}
getURLParameters('index.php?name=Jhon&surname=Smith'); // {name: 'Jhon', surname: 'Smith'}
getURLParameters('http://url.com/index?id=7'); // {id: "7"}
getURLParameters('http://url.com/index?7'); // {}
getURLParameters('http://url.com/'); // {}
getURLParameters('http://url.com/index.php?'); // {}