const ac = new AbortController()
ac.signal.addEventListener('abort', () => console.log('aborted!'))
ac.abort() // β logs 'aborted!'Listen to the 'abort' event on signal to react when cancellation occurs.
signal.aborted remains true even if abort() is called multiple times.
Challenge: Call abort() twice and verify signal.aborted is still true.