How to declare and initialize array of strings in JavaScript

1 Answer

0 votes
const arr = ["javascript", "php", "css", "html"];

console.log(arr); 

  
    
    
/*
run:
    
["javascript", "php", "css", "html"]
    
*/

 



answered Mar 5, 2021 by avibootz
...