Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in the number of properties #1208

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common-content/en/module/js2/key-values/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Each **property** is an association between a key and a value.
};
```

In the {{<tooltip title="object literal">}} An object literal is an object defined by writing a comma-separated list of key-value pairs inside of curly braces.{{</tooltip>}} above, there are 3 properties. The first property consists of `firstName` and `"Francesco"`. `firstName` is the **key**, `"Francesco"` is the **value** associated with the key `firstName`.
In the {{<tooltip title="object literal">}} An object literal is an object defined by writing a comma-separated list of key-value pairs inside of curly braces.{{</tooltip>}} above, there are 4 properties. The first property consists of `firstName` and `"Francesco"`. `firstName` is the **key**, `"Francesco"` is the **value** associated with the key `firstName`.

In object literals, each **key-value pair** is separated by a comma.

Expand Down
Loading