JS Built-ins
AbortControllerbeginner

AbortController Constructor β€” instanceof check

πŸ“– Usage Example
const ac = new AbortController()
ac.signal.aborted  // β†’ false

AbortController lets you cancel fetch requests or other async operations.

AbortController Constructor

new AbortController() creates a controller that can abort one or more operations.

Challenge: Verify that new AbortController() is an instance of AbortController.

πŸ’‘ Hints (1)
  • β€’ AbortController is a Web API available in browsers and Node.js 15+