what do curly brackets mean in javascript code example
Example 1: square brackets vs curly brackets javascript
{ } is any object, has key value pair
[ ] is an array
Example 2: javascript function in brackets
(function() {
// code
})();
{ } is any object, has key value pair
[ ] is an array
(function() {
// code
})();