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

AI solution for React Quiz on BFE.dev
28. useEffect() timing III

The code above will output the following by console.log:

1
5
6
2
3
4