How can you create a custom Promise with timeout functionality?
Difficulty: 5/10
Promise, Timeout handling, Error propagation
You can create a new Promise that resolves after a certain delay using setTimeout(). If the Promise doesn't resolve within the specified timeout, you can reject it.