From 70708557a0f69b5829c2e5b062f0786faa07921f Mon Sep 17 00:00:00 2001 From: Rene Saarsoo Date: Sun, 21 Jun 2015 20:18:39 +0300 Subject: [PATCH] Fix type of Array.map callback return value. --- js-classes/Array.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js-classes/Array.js b/js-classes/Array.js index d99f58d8..40fff626 100644 --- a/js-classes/Array.js +++ b/js-classes/Array.js @@ -893,7 +893,7 @@ * @param {Mixed} callback.value The element value. * @param {Number} callback.index The element index. * @param {Array} callback.array The array being traversed. - * @param {Boolean} callback.return The resulting element at the specified index. + * @param {Mixed} callback.return The resulting element at the specified index. * @param {Object} [thisObject] Object to use as `this` when executing `callback`. * @return {Array} Array of the return values of `callback` function. */ -- GitLab