Var = {}?

What does “var = {}” mean? I know it has something to do with OOP in JavaScript, but beyond that, I’m clueless.

The code I’m specifically referring to in this pertains to Spry, a pretty cool menu script.

The thing starts-off with the following:

var Spry;
if (!Spry) Spry = {};

And unless I’m mistaken, the above would indicate that if there’s no instantiated object called “Spry” then it (the script) will initialize it to…what? Blank brackets? That makes no sense to me. Help?

Spry = {};

means exactly the same thing as

Spry = new Object();

{} is an abbreviated way to reference an object in the same way is for an array and // for a regular expression.