I have an object like this:
var person = { name: \"John\", surname: \"Smith\", phone: \"253 689 4555\" }
I want:
You can use this one-liner in modern browsers
Object.keys(person).map(function(k){return person[k]}).join(",");