Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which JavaScript syntax establishes an asynchronous module boundary that a bundler can use for code splitting?" on CodeWiki (https://codewiki.com/practice/mcq/frontend/checkpoint-4/checkpoint-4-output/).
Context (verbatim from the page):
"""
Which JavaScript syntax establishes an asynchronous module boundary that a bundler can use for code splitting?
`import("./analytics.js")`
`require("./analytics.js")` at the top of every entry
Copying the module source into an inline comment
"""
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 Frontend. Where you are unsure, say so.