If the syntax for JavaScript object literals is
{ label: value, label: value, ... }
then why is it that I've seen some people use this in their code?
{window}
What is its purpose? I've tried that and it evaluates to window
as it would without the braces. It doesn't even fit in with the object literal notation. Is it a code block?