This solution is generated by ChatGPT, correctness is not guaranteed.

AI solution for React Quiz on BFE.dev
29. useEffect() timing IV

The code above outputs the following by console.log:

1 3 5 2 4