Answers for "array j"

139

javascript array

//create an array like so:
var colors = ["red","blue","green"];

//you can loop through an array like this:
for (var i = 0; i < colors.length; i++) {
    console.log(colors[i]);
}
Posted by: Guest on July-01-2019
1

Array

// this is sumple array
let array=[1,2,3,4]
Posted by: Guest on September-10-2021
1

array ub js

var fruits = ['Apple', 'Banana'];
Posted by: Guest on October-27-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language