What does assigning a variable to {}, mean? Is that initializing it to a function? I have code in a javascript file that says this
{}
GLGE.Wavefront =
Using {} creates an object. You can use the object like a hash-map or similar to how you can use arrays in PHP.
var obj = {}; obj['test'] = 'valuehere'; obj.secondWay = 'secondValue';
and you could access them by calling obj.test and obj['secondWay'].
obj.test
obj['secondWay']