objects [ {
firstName: "Kristian",
lastName: "Vos",
number: "unknown",
likes: ["JavaScript", "Gaming", "Foxes"],
}....]
if this is my object, i need to read the word "firstName
" and not the value of "firstName
"
i know how to output the value of firstName ( objects[0].fisrtName ) = "Kristian"
but what i really need to read is if the object has a property called firstName, in case that the object doesnt have that property.
thanks