Is it possible to get the object property name as a string
person = {}; person.first_name = \'Jack\'; person.last_name = \'Trades\'; person.address = {}; per
I prefer it clean and simple like this:
var obj = { sessionId: 123, branchId: 456, seasonId: 789 }; var keys = Object.keys(obj); for (var i in keys) { console.log(keys[i]); //output of keys as string }