import { asc } from "./asc.js";
function replaceArrayItemAtIndex(array, index, newValue) {
  const output = array.slice();
  output[index] = newValue;
  return output.sort(asc);
}
export {
  replaceArrayItemAtIndex
};
//# sourceMappingURL=replaceArrayItemAtIndex.js.map
