difference between curly and square brackets in javascript code example
Example: square brackets vs curly brackets javascript
{ } is any object, has key value pair
[ ] is an array
{ } is any object, has key value pair
[ ] is an array