We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405bacc commit 9fb1d68Copy full SHA for 9fb1d68
1 file changed
docs/map.md
@@ -1,5 +1,5 @@
1
## Map
2
-A map is similar to an array, but uses an object, or dictionary/map to store items of different data types, like numbers and strings.
+A map is similar to an array, but uses an object or dictionary to store items of different data types (e.g., numbers, strings).
3
Objects use key-value pairs, allowing values of any time, which provides the flexibility needed for data.
4
Additionally, the key must be either a number or string, while the value type can be any type.
5
``` ts
0 commit comments