JavaScript Algorithms and Data Structures - Part 3, Step 47

Step 47

In your role playing game, you will be able to visit different locations like the store, the cave, and the town square. You will need to create a data structure that will hold the different locations.

Use const to create a variable called locations and assign it an empty array.

!!!

At this step the program stops working, this task cannot be created…

make sure you write locations and not location