SyntaxFix
Write A Post
Hire A Developer
Questions
In 2018 Mozilla warns us in the Mozilla Docs here!
I quote "Logging Objects":
Don't use console.log(obj);, use console.log(JSON.parse(JSON.stringify(obj)));. This way you are sure you are seeing the value of obj at the moment you log it.
Don't use console.log(obj);, use console.log(JSON.parse(JSON.stringify(obj)));.
console.log(obj);
console.log(JSON.parse(JSON.stringify(obj)));
This way you are sure you are seeing the value of obj at the moment you log it.