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