Closed Nalini1998 closed 1 year ago
What is the correct syntax for an array?
let myArray = ['Rappel into a cave', 'Take a falconry class', 'Learn to juggle'];
let myArray = {'Rappel into a cave', 'Take a falconry class', 'Learn to juggle'};
let myArray = 'Rappel into a cave', 'Take a falconry class', 'Learn to juggle';
let myArray = ['Rappel into a cave'; 'Take a falconry class'; 'Learn to juggle'];
I chose let myArray = ['Rappel into a cave', 'Take a falconry class', 'Learn to juggle'];
What is the correct syntax for an array?
let myArray = ['Rappel into a cave', 'Take a falconry class', 'Learn to juggle'];
let myArray = {'Rappel into a cave', 'Take a falconry class', 'Learn to juggle'};
let myArray = 'Rappel into a cave', 'Take a falconry class', 'Learn to juggle';
let myArray = ['Rappel into a cave'; 'Take a falconry class'; 'Learn to juggle'];