Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Why is a module-level array unsuitable as the only task store in a deployed backend?" on CodeWiki (https://codewiki.com/practice/mcq/backend/getting-started/durable-business-state/).
Context (verbatim from the page):
"""
Why is a module-level array unsuitable as the only task store in a deployed backend?
Its state is lost on restart and is not shared across worker processes.
JavaScript arrays cannot contain objects.
HTTP forbids servers from using memory.
"""
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 Backend. Where you are unsure, say so.