Skip to content

Commit 405bacc

Browse files
Update map.md
1 parent 8cf3970 commit 405bacc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ A map is similar to an array, but uses an object, or dictionary/map to store ite
33
Objects use key-value pairs, allowing values of any time, which provides the flexibility needed for data.
44
Additionally, the key must be either a number or string, while the value type can be any type.
55
``` ts
6-
const myMap = {[index: string]: number}
6+
const myMap = {[index: string]: number};
77
```

0 commit comments

Comments
 (0)