This solution is generated by ChatGPT, correctness is not guaranteed. You might also be able to find a solution fromcommunity posts.
AI solution for JavaScript Quiz on BFE.dev
22. min max
The code outputs the following when executed with console.log()
:
Infinity
-Infinity
1
2
NaN
(Not a Number)