Skip to content

Update article.md to expand on property order in objects#3368

Open
jvilders wants to merge 2 commits into
javascript-tutorial:masterfrom
jvilders:master
Open

Update article.md to expand on property order in objects#3368
jvilders wants to merge 2 commits into
javascript-tutorial:masterfrom
jvilders:master

Conversation

@jvilders

Copy link
Copy Markdown

Current article does mention integer properties, but it's not explicit that these appear first in the object and the existing example doesn't feature this situation. I've made the wording more explicit and added a small, if somewhat contrived, example of this situation.

Expand explanation to make it more explicit that integer property
names always come before any non-integer property names. Also add
a small example to show this.

Fix casing of object name

Fix indexing

Fix name

Expand wording on object property order
Makes the integer property names more intuitive.
@CLAassistant

CLAassistant commented Feb 11, 2023

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants