Set undefined javascript property before read
===

    var tr={};
    tr.SomeThing='SomeThingElse';
    console.log(tr.SomeThing); // SomeThingElse
    console.log(tr.Other); // undefined
    
    tr.get=function(what){
    	if (tr.hasOwnProperty(what)) return tr[what];
    	else return what;
    };
    tr.get('SomeThing') // SomeThingElse
    tr.get('Other') // Other

Is there any way to make tr.Other or tr['Other'] returned "Other" but not undefined?