On my node.js server I have the following code:
var tags = [{"value":"tag1"},{"value":"tag2"}];
console.log("tags: " + tags);
I expected the console to say this:
tags: [{"value":"tag1"},{"value":"tag2"}]
But instead got this:
tags: [object Object],[object Object]
Why does this happen? It's causing problems in my code because I'm trying to access the values but can't.