Variables & Functions used in the code:
const fakeAPI = (delay, value) => new Promise(resolve => setTimeout(() => resolve(value), d