Skip to content

Commit

Permalink
Fix typo in the number of properties (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
azaralampanah2 authored Nov 22, 2024
1 parent d7b4d1c commit 224b1d1
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 224b1d1

Please sign in to comment.