JS Built-ins
AbortSignalintermediate

AbortSignal.timeout() β€” not yet aborted

πŸ“– Usage Example
AbortSignal.abort() instanceof AbortSignal  // β†’ true

Static factory methods return AbortSignal instances.

AbortSignal.timeout() β€” initial state

A signal created with AbortSignal.timeout(ms) is not aborted immediately β€” it fires after the delay.

Challenge: Verify that AbortSignal.timeout(99999).aborted is false right after creation.

πŸ’‘ Hints (1)
  • β€’ timeout() schedules the abort in the future β€” it is not aborted at construction time