Nalini1998 / Project_Public

MIT License
2 stars 0 forks source link

What is the correct syntax for an array? #537

Closed Nalini1998 closed 1 year ago

Nalini1998 commented 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'];

Nalini1998 commented 1 year ago

I chose let myArray = ['Rappel into a cave', 'Take a falconry class', 'Learn to juggle'];