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

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)