javascript assistance

Job ID: 37422724

Budget: $25 – $50 USD

I am looking for experienced assistance with a JavaScript project. This project has a completion deadline of within a week and the task has a basic level of complexity. Specifically, I need help with implementing a specific feature - I need to create a custom function which takes an initial date value and runs in backwards according to a sequence. example:

const customDateOrder = [1, 2, 2, 4, 5, 7, 8, 8];
const today = new Date();

// some function which returns an array of a given input size like 60. Each item is a date that is number of days away in accordance with the above sequence customDateOrder

. Please only respond if you are confident and experienced in JavaScript projects.
Thank you!
Related categories: JavaScript jQuery