I have an object like this:
var person = { name: \"John\", surname: \"Smith\", phone: \"253 689 4555\" }
I want:
Here is a simpler one liner. It uses the Object.values() method instead of Object.keys
Object.values(obj).join(",");