So as long as a key exists inside of an object, I can access it with dot notation?


#1

Question

So as long as a key exists inside of an object, I can access it with dot notation?

Answer

That’s right! Just make sure you use the syntax objectName.key, replacing the name of your object where it says objectName and the name of your key where it says key.