Answers for "how can I create an empty array fill with 0 in javascript?"

0

how can I create an empty array fill with 0 in javascript?

new Array(len).fill(0);
Posted by: Guest on March-25-2021

Code answers related to "how can I create an empty array fill with 0 in javascript?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language