The following is a Javascript class that I have created.
(function(window){
function Project(name,description){
this.name = name;
this.description = description;
}
window.Project = Project;
}(window));
I know to create variables inside the class using the 'this' keyword. But can someone help as how to create an array as member of the class. In this situation I need to create an array variable 'projectMemebers'
[]creates an empty Array instance.