JSON format
JavaScript
var fruitObject = { 'a' : 'apple', 'b' : 'banana', 'c' : 'carrot' };
var x =Object.keys(fruitObject); // this returns all properties in an array ["a", "b", "c"]
console.log(x.value);
var fruitObject = { 'a' : 'apple', 'b' : 'banana', 'c' : 'carrot' };
var x =Object.keys(fruitObject); // this returns all properties in an array ["a", "b", "c"]
console.log(x.value);