src/language-html/ast.js/setNonEnumerableProperties
function setNonEnumerableProperties(obj, props) {
  const descriptors = Object.keys(props).reduce((reduced, key) => {
    reduced[key] = { value: props[key], enumerable: false };
    return reduced;
  }, {});
  Object.defineProperties(obj, descriptors);
}