Hey all, im kinda stuck with something so I could really use some help. I dont really know how they're called but I made this class? below:
function Artist(title, image, availability) {
this.title = title;
this.image = image;
this.availability = availability;
}
Then I filled an array with it:
var artistList = [new Artist("Aad", "Artists/Aad.png", "yes"),
new Artist("Piet", "Artists/Piet.png", "no"),
new Artist("Jan", "Artists/Jan.png", "yes")];
How can I check in this array which artists have a "yes" or "no" for availability?