Although it may seem trivial, the following code is giving me trouble:
window.temp1.targetInterests
It gives me back:
Object {Famosos: "Famosos", Musica: "Música", Humor: "Humor"}
I attempted to join
it:
window.temp1.targetInterests.join('/')
and map
it:
window.temp1.targetInterests.map(function(elem){
return elem.name;
}).join(",");
but unfortunately, I keep receiving
Uncaught TypeError: undefined is not a function
Can someone point out where I am going wrong?
Your help is greatly appreciated.