File size: 204 Bytes
d9494a5
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
export const getContiguousIncrementalValues = (
  numberOfValues: number,
  startingValue = 0,
) => {
  return Array.from(
    { length: numberOfValues },
    (_, index) => startingValue + index,
  );
};