myStorage
object and assign the contents of the glove box
property to the gloveBoxContents
variable. Use dot notation for all properties where possible, otherwise use bracket notation.
gloveBoxContents
should equal "maps".
testString: assert(gloveBoxContents === "maps");
- text: Your code should use dot and bracket notation to access myStorage
.
testString: assert(/=\s*myStorage\.car\.inside\[\s*("|')glove box\1\s*\]/g.test(code));
```