dot notation vs bracket notation - for accessing data within nested objects. e.g foo.bar vs foo['bar']