Creating 10,000 objects of different types
Object Type Time
    _o = { }; // Object literal. Global scope assignment.
 
    _o0 = {i : 17, s : "hello" }; // Object literal. Global scope assignment.
 
// globally scoped constructors.
    _f2 = function(){ this.i = 17; this.s = "hello"; };
    _f2params = function(i, s){ this.i = i; this.s = s; };
    new _f2(); // constructor call.
		
 
    new _f2params(17, "hello"); // constructor call.
		
 
Using Lazy Initialization / Caching
    if(_f2paramsInstance == null)
        _f2paramsInstance = new _f2params(17, "hello");