Implement a basic custom setInterval utility.
Implement customSetInterval that:
- Repeats callback execution every
delay ms - Supports callback arguments
- Returns a timer id
- Treats negative delay as
0 - Uses recursive
setTimeout internally (do not use native setInterval)
Function Signature
function customSetInterval(callback, delay, ...args) {
// return timerId
}