--- id: 5d665983e0696bdec46938dc title: Part 29 challengeType: 0 dashedName: part-29 --- # --description-- Arrays can store any data type, including objects. Objects are similar to arrays, except that instead of using indexes to access and modify their data, you access the data in objects through what are called properties. Inside the `locations` array add an empty object using curly braces. Here is an example of an array named `arr` with an empty object inside: `const arr = [{}];` # --hints-- See description above for instructions. ```js assert.deepStrictEqual(JSON.stringify(locations), `[{}]`); ``` # --seed-- ## --before-user-code-- ```html RPG - Dragon Repeller
XP: 0 Health: 100 Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```