Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Name the JavaScript predicate that accepts only finite numbers without coercing its argument." on CodeWiki (https://codewiki.com/practice/fill/foundations/checkpoint-2/checkpoint-2-nonfinite-check/).
Context (verbatim from the page):
"""
Name the JavaScript predicate that accepts only finite numbers without coercing its argument.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.