http://www.w3schools.com/js/js_objects.asp
Which may look like:
var car = {
name: "Fiat",
start: function() {
this.state = "On";
console.log("And we're off!");
}
...
}
A property is an association between a key and a value.
name: "Fiat"
key: value
A method is a property that is also a function.
start: function() {
this.state = "On";
console.log("And we're off!");
}
Check out this article if you want to know more about floats and clears.
Now let's see that in practice!