Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "What information does a valid Date object retain?" on CodeWiki (https://codewiki.com/practice/mcq/javascript/date-object/date-stored-state/).
Context (verbatim from the page):
"""
What information does a valid Date object retain?
A millisecond time value identifying an instant
A time value and the IANA zone used to construct it
Separate stored UTC and local calendar fields
The original input string and its locale
"""
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 JavaScript. Where you are unsure, say so.