Vtool interview question

Can you create the JSON.Stringify() function.