Skip to content

Commit 472d9cf

Browse files
committed
Update README.
1 parent 88ee15e commit 472d9cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pairs([1, 2, 3, 4]); // returns [[1, 2], [2, 3], [3, 4]]
203203

204204
If the specified array has fewer than two elements, returns the empty array.
205205

206-
## Associative Arrays
206+
### Associative Arrays
207207

208208
Another common data type in JavaScript is the associative array, or more simply the object, which has a set of named properties. In Java this is referred to as a map, and in Python, a dictionary. JavaScript provides a standard mechanism for iterating over the keys (or property names) in an associative array: the [for…in loop](https://developer.mozilla.org/en/JavaScript/Reference/Statements/for...in). However, note that the iteration order is undefined. D3 provides several operators for converting associative arrays to standard indexed arrays.
209209

0 commit comments

Comments
 (0)