Fixed the spacing in code-reuse-patterns/prototypal-inheritance.html for better consistency.
For example, from:
// create a new person
var papa = new Person();
// inherit
var kid = object(papa);
// test that both the own property
// and the prototype property were inherited
console.log(kid.getName()); // "Adam"
to:
// create a new person
var papa = new Person();
// inherit
var kid = object(papa);
// test that both the own property
// and the prototype property were inherited
console.log(kid.getName()); // "Adam"
Fixed the spacing in code-reuse-patterns/prototypal-inheritance.html for better consistency.
For example, from:
to: