The following typescript function seriesIncrementedBy5 returns an array with numbers starting from 5 to upperLimit with an increment of 5.
Is there a way to replace this 5 lines of code with any recent typescript ES6 advanced function which will take less than 5 lines.
private seriesIncrementedBy5(upperLimit: number): number[] {
    const series = [];
    for (let s = 5; s <= upperLimit + 5; s += 5) {
        series.push(s);
    }
    return series;
}
 
     
     
    