i would like to know if theres a way to write this code without the need of a class?
bodydata is an array:
and the line i want to use:
var bodydata = new Array();
but to use it i need this class:
i would like to do the same but without the class, is that possible?
var height, weight;
var _loc1 = str.indexOf(",", 0);
height = Number(str.substr(0, _loc1));
weight = Number(str.substr(_loc1 + 1, str.length));
} // End of the function
} // End of Class
so i can use bodydata.height, bodydata.weight and so on...