JSFiddle - React, Tailwind, and code Playground

by Matthew Day

JavaScript

// make the keys of an object a string


var objects = [
	{"bob":12},
  {"sally":41},
  {"chris":5},
	{"bertha":22}
];

objects.forEach( value => {
	console.log(Object.keys(value).toString());
});

//console.log(objects);