DEV Community

Discussion on: What is the difference between dot notation and this : [''] while using an object in javascript

Collapse
 
seanmclem profile image
Seanmclem

The later allows you to use variables to reference object keys. That's one way

Collapse
 
feezyhendrix profile image
Abdulhafeez Abdulraheem

This seems plausible