Multiple choice technology databases

JSON uses which Javascript function drastically:

  1. Alert()

  2. Eval()

  3. Evale()

  4. Console()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JSON is a subset of JavaScript, and in early implementations, eval() was commonly used to parse JSON strings into JavaScript objects. However, this is now considered a security risk and is deprecated in favor of JSON.parse(). The question reflects historical usage patterns. eval() executes arbitrary JavaScript code, making it dangerous with untrusted JSON.