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

Miles Williams • 3 months ago

console.log(ownerName + ", this is your car: " + this.registrationNumber + " " + this.brand);
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

Letty • 1 month ago

thanks very much, this article explains very clearly!