A Bit More Syntax
- In JavaScript, object properties can have any name
- ie.
{ name: "Ryan" }
creates an object with a property called name - You can technically have an object with a property of "Blah Blah Blah"
- You can't type
{ Blah Blah Blah: "Ryan" }
though - You have to use
{ ["Blah Blah Blah"]: "Ryan" }
if you want complex properties - This is the syntax you have to use for headers
20 / 25