Open madssj opened 7 years ago
i cant agree more~ i have the same position in the keys() function , the document is outdating
@marchant I recommend adding @madssj as a collaborator.
returns an iterator, even though the documentation insists it returns an array.
This seems to be a common issue
Using
collections
- specificallyFastMap
I've run into multiple problems with the documentation, which has left me not trusting it.I've submitted a PR for one such incorrectness (montagejs/collectionsjs.com/pull/45), which has been left without response or action.
Another observed incorrectness is, that
new FastMap([[1, 2], [3, 4]]).keys()
returns an iterator, even though the documentation insists it returns an array.I'd be happy to help fix the documentation.