/**
 * Copyright IBM Corp. 2020, 2026
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */

//#region src/global/js/utils/rangeWithCallback.js
/**
* Copyright IBM Corp. 2022, 2022
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
const rangeWithCallback = (start, end, fn) => {
	for (let i = start; i <= end; i++) fn(i);
};
//#endregion
exports.rangeWithCallback = rangeWithCallback;
