Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Creating Arrays in JavaScript</title> </head> <body> <script> // Creating variables let colors = ["Red", "Green", "Blue"]; let fruits = ["Apple", "Banana", "Mango", "Orange", "Papaya"]; let cities = ["London", "Paris", "New York"]; let person = ["John", "Wick", 32]; // Printing variable values document.write(colors + "<br>"); document.write(fruits + "<br>"); document.write(cities + "<br>"); document.write(person); </script> </body> </html>