Create & Log an Array
Write a JS program to log an array with the given values.
‘Orange’, 25, 100, true, 33.58.
Output
The output should be a single line containing an array with the above values in the same order.
Code:
let my_array=["Orange",25,100,true,33.58];
console.log(my_array);
Output
[Orange”, 25, 100, true, 33.58]