// Declare properties on the prototype
// Create a constructor
function A() {}
// Add a prototype property
A.prototype.name = "Freddy";
// http://stackoverflow.com/questions/16751230/why-declare-properties-on-the-prototype-for-instance-variables-in-javascript