We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Miles Williams • 2 weeks ago

console.log(ownerName + ", this is your car: " + this.registrationNumber + " " + this.brand);
Really??
Yuck!!
How about...
console.log(`${ownerName}, this is your car: ${this.registrationNumber} ${this.brand});
Please use backticks and expression interpolation and not concatenation.
For a solid style guide I like to refer to https://github.com/airbnb/javascript