JavaScript for WordPress Forums Bugs & Issues Wrong answer on JSON quiz question 1?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #10145
    Patrick Jackson

    If I’m reading this right, it looks like there may be a mistake on the first question on the JSON quiz at the end of section 1.5.

    The question asks, “What method should you use to convert JSON to a native JavaScript object?”

    I believe the correct answer should be JSON.parse(), but this option is not available.

    JSON.stringify() is available and shows as the correct answer when selected (see screenshot).

    Juliette Tworsey

    Hi Patrick,

    I noticed this too and meant to mention it, but got caught up in life…and studying.

    Thanks for bringing this up:-)

    Zac Gordon

    Sorry folks! This should be fixed 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.