Looking for a way to correctly display "obj" in the same string as "note." Here's my JavaScript code:
console.log(obj);// [query: "wordOfTheDay"]
console.log(note + " : " + obj ); // obj does not show up
I want to ensure that "obj" displays properly in the same string as "note," regardless of its type.
For instance:
console.log("text sample : " + obj ); // text sample : [query: "wordOfTheDay"]
Your help is appreciated!