grammar edits for readability (#27610)

This commit is contained in:
fransposito
2019-01-17 10:47:12 -06:00
committed by Tom
parent b0f19aa3f6
commit 05cea67127

View File

@ -1,9 +1,9 @@
---
title: Construct JavaScript Objects with Functions
---
Using constructors it is easy to create new objects using a blueprint or constructor. The declaration syntax is a little different but still easy to remember.
It is easy to create new objects using a **Blueprint** or **Constructor**. The declaration syntax is a little different but still easy to remember.
// Let's add the properties engines and seats to the car in the same way that the property wheels has been added below. They should both be numbers.
// Let's add the properties engines and seats to the Car in the same way that the property wheels has been added below. They should both be numbers.
var Car = function() {
this.wheels = 4;
this.engines = 1;