$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #157

What goes in the blank?

// parse a JSON string into an object
const cfg = JSON.____(raw);

Answer: parse (also accepted: parse, parse())

JSON.parse() turns text into a value; stringify goes the other way.
Play Problem Solving ▸