JSFiddle - React, Tailwind, and code Playground JavaScript var ob = {a:1,b:2,c:3}; for( var name in ob) { console.log( ob[name] ); }