JSFiddle - React, Tailwind, and code Playground

JavaScript

var proto = {
  nonEnumerable: 'This property should not show up in for in loops',
}

var a = Object.create(proto) 
a.one = 1;
a.two = 2;
a.three = 3;


for (var i in a) {
  console.log(i, a[i]);
}