Answers for "run a loop inside a console.log no blank line"

1

run a loop inside a console.log no blank line

console.log(Array.apply(null, {length: 10}).map(function(el, index){
   return index;
}).join(' '));
Posted by: Guest on July-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language