I am using Array.from() function which is supported in all browsers, except IE:
function range(start, end) {
return Array.from(Array(end - start + 1), (_, i) => i + start);
}
Instead of Array.from() what function can I use to make my code compatible with IE?