I am a beginner in javascript and would like to know if it is possible to create array of objects in javascript, if so, how do I do this? 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 work with, is that possible? Thank you in advance for your cooperation!