Answers for "how to create an array of a certain range javascript"

2

docker remove none images

docker image prune --filter="dangling=true"
Posted by: Guest on December-30-2020
0

docker delete images without tag

docker rmi $(docker images -a|grep "<none>"|awk '$1=="<none>" {print $3}')
Posted by: Guest on November-08-2020
1

generate array range

for (i of range(1, 5)) {
    console.log(i);
}
/* Output
 * 1 2 3 4 5 */

[...range(1, 5)] // [1, 2, 3, 4, 5]
Posted by: Guest on July-06-2020

Code answers related to "how to create an array of a certain range javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language