@util.js/arrays 0.41.7 → 0.41.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/Arrays.js +5 -5
  2. package/package.json +1 -1
package/dist/Arrays.js CHANGED
@@ -77,7 +77,7 @@ var Arrays = /*#__PURE__*/function () {
77
77
  * See [knuth-shuffle]{@link https://www.npmjs.com/package/knuth-shuffle}.
78
78
  *
79
79
  * @param {Array} array The array to shuffle
80
- * @return {Array} A new Array instance
80
+ * @return {Array} A new Array instance with shuffled elements
81
81
  * @public
82
82
  * @instance
83
83
  * @function
@@ -89,12 +89,12 @@ var Arrays = /*#__PURE__*/function () {
89
89
  }
90
90
 
91
91
  /**
92
- * Sorts the elements of an array and (unlike returns a **new array** with the sorted elements. The default sort order is ascending, built upon converting the elements into strings, then comparing their sequences of UTF-16 code units values.
92
+ * Sorts the elements of an array and returns a **new array** with the sorted elements. The default sort order is ascending, built upon converting the elements into strings, then comparing their sequences of UTF-16 code units values.
93
93
  *
94
- * See [knuth-shuffle]{@link https://www.npmjs.com/package/knuth-shuffle}.
94
+ * See MDN's documentation about [sort]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort}.
95
95
  *
96
- * @param {Array} array The array to shuffle
97
- * @return {Array} A new Array instance
96
+ * @param {Array} array The array to sort
97
+ * @return {Array} A new Array instance with sorted elements
98
98
  * @public
99
99
  * @instance
100
100
  * @function
package/package.json CHANGED
@@ -34,5 +34,5 @@
34
34
  "type": "git",
35
35
  "url": "https://github.com/creemama/utiljs/tree/master/packages/utiljs-arrays"
36
36
  },
37
- "version": "0.41.7"
37
+ "version": "0.41.8"
38
38
  }