Update create-a-basic-javascript-object.english.md (#37810)

small spelling correction (everyday -> every day)
This commit is contained in:
Waldo Luis Ribeiro 2019-11-22 14:34:34 +00:00 committed by Randell Dawson
parent 6fc32ab9b6
commit 1fc71e6969

View File

@ -7,7 +7,7 @@ forumTopicId: 301317
## Description
<section id='description'>
Think about things people see everyday, like cars, shops, and birds. These are all <dfn>objects</dfn>: tangible things people can observe and interact with.
Think about things people see every day, like cars, shops, and birds. These are all <dfn>objects</dfn>: tangible things people can observe and interact with.
What are some qualities of these objects? A car has wheels. Shops sell items. Birds have wings.
These qualities, or <dfn>properties</dfn>, define what makes up an object. Note that similar objects share the same properties, but may have different values for those properties. For example, all cars have wheels, but not all cars have the same number of wheels.
Objects in JavaScript are used to model real-world objects, giving them properties and behavior just like their real-world counterparts. Here's an example using these concepts to create a <code>duck</code> object: