Answers for "jquery array array"

1

jquery create array

var colors = ['red','blue','green'];

/*// OUTPUT
---------------------------*/
console.log(colors[1]); // Outputs 'blue'
Posted by: Guest on February-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language