JSFiddle - React, Tailwind, and code Playground

by Marco Iamonte

JavaScript

const obj = { '108': '4',
  '1001': '4',
  '1027': '1',
  '1128': '2',
  '1284': '1',
  '1300': '4',
  '1313': '4',
  '1327': '2',
  '1334': '1',
  '1351': '4',
  '1356': '1' };
  
  
console.log(Object.keys(obj).map(i => {
	return {[i]: obj[i]};
}));