JSFiddle - React, Tailwind, and code Playground
HTML
<pre id="out"></pre>
CSS
#out {
white-space: pre-wrap;
border: 1px solid black;
}
JavaScript
function genProtoBlackList(constructor) {
var a = [], ks, p = constructor.prototype, pds;
while (p) {
ks = Object.getOwnPropertyNames(p);
pds = ks.map(function(n){ return Object.getOwnPropertyDescriptor(p, n)});
pds = pds.filter(function(pd) {});
console.log(pds);
a = a.concat(ks);
p = Object.getPrototypeOf(p);
}
return a;
}
out.textContent = genProtoBlackList(HTMLElement).join('\n');