summaryrefslogtreecommitdiff
path: root/lib/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/map.js')
-rw-r--r--lib/map.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/map.js b/lib/map.js
index 892456b..19642c8 100644
--- a/lib/map.js
+++ b/lib/map.js
@@ -14,6 +14,10 @@ import doLimit from './internal/doLimit';
* in order. However, the results array will be in the same order as the
* original `coll`.
*
+ * If `map` is passed an Object, the results will be an Array. The results
+ * will roughly be in the order of the original Objects' keys (but this can
+ * vary across JavaScript engines)
+ *
* @name map
* @static
* @memberOf async
@@ -24,7 +28,7 @@ import doLimit from './internal/doLimit';
* once it has completed with an error (which can be `null`) and a
* transformed item. Invoked with (item, callback).
* @param {Function} [callback] - A callback which is called when all `iteratee`
- * functions have finished, or an error occurs. Results is an array of the
+ * functions have finished, or an error occurs. Results is an Array of the
* transformed items from the `coll`. Invoked with (err, results).
* @example
*