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