JSON.stringify returns " [object Object]" instead of the contents of
Here I''m creating a JavaScript object and converting it to a JSON string, but JSON.stringify returns " [object Object]" in this case, instead of displaying the contents of the object.