Put in order · JavaScript and React course · Module 11: Data Fetching and APIs
AbortController Syntax with Cleanup
Arrange the syntax for returning a cleanup function with controller.abort():
Items to put in order
- controller
- return
- () =>
- .abort();
You can check the correct answer by solving this task in the CodeWorlds game.