i want to use a for in oop to get the value of all the properties but do not know how. The tutorial i am following gives this example of how i can do it, but i dont underst
for (var property in obj){ console.log(property + ": " + obj[property]); }
This should do the trick, what this does is loops through the "Properties" of the object and logs the values accordingly.