4
I’m a beginner in javascript and would like to know if it is possible to create object array in javascript, if yes, how do I do that? I know that to create an object I need to do the following:
var Ponto = function (latitude, longitude) {
this.latitude = latitude;
this.longitude = longitude;
}
var ponto = new Ponto(80,50);
My intention now was to create an array of points to be able to work with them, is that possible? I thank you in advance for your cooperation!
It worked right here. Thank you very much!
– CloudAC