Passing objects between Functions using mapped name as variable
var MappedObject = Object.MappedName;
When setting a variable to the mapped name of an object that variable is type of string not an object. so i cannot work with that objects properties. How can i set my variable as that object in order to work with it in a new method.