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