etc/browser-demo/src/index.js
function objectSchema(obj) {
  const props = Object.entries(obj).reduce(
    (reduced, [key, val]) => Object.assign(reduced, { [key]: typeof val }),
    {}
  );
  return props;
}
function objectSchema(obj) {
  const props = Object.entries(obj).reduce(
    (reduced, [key, val]) => Object.assign(reduced, { [key]: typeof val }),
    {}
  );
  return props;
}
function objectSchema ( obj ) { const props = Object . entries ( obj ) . reduce ( ( reduced , [ key , val ] ) => Object . assign ( reduced , { [ key ] : typeof val } ) , { } ) ; return props ; }
given an object, return some JSON that describes its structure
given an object return some JSON that describes its structure