$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #179

What goes in the blank?

// object -> JSON text
const body = JSON.____(payload);

Answer: stringify (also accepted: stringify, stringify())

JSON.stringify() serialises a value to text.
Play Problem Solving ▸