Ok so imagine I have the following object
var House= function(){
var color = "#0000FF";
}
Then I add the following method:
House.prototype.drawHouse = function(){
document.write("House " + this.color);
// ^^ How do I reference the color property of the object?
}
How is the best way to reference the color attribute from the drawHouse method?