@woosh/meep-engine 2.109.8 → 2.109.10

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.
package/build/meep.cjs CHANGED
@@ -106144,16 +106144,16 @@ const stack$1 = [];
106144
106144
  * @template T
106145
106145
  * @param {T[]|ArrayLike<number>|Uint32Array} data
106146
106146
  * @param {function(T):number} score_function
106147
- * @param {*} score_function_context
106148
- * @param {number} start
106149
- * @param {number} end
106147
+ * @param {*} [score_function_context]
106148
+ * @param {number} [start]
106149
+ * @param {number} [end]
106150
106150
  * @param {function(T[],number, number):*} [swap_operator]
106151
106151
  * @param {*} [swap_context]
106152
106152
  */
106153
106153
  function arrayQuickSort(
106154
106154
  data,
106155
106155
  score_function, score_function_context,
106156
- start, end,
106156
+ start = 0, end = data.length - 1,
106157
106157
  swap_operator = array_swap_one, swap_context = undefined
106158
106158
  ) {
106159
106159
  if (start >= end) {