JSFiddle - React, Tailwind, and code Playground
JavaScript
class Polygon {
constructor(height, width) {
this.height = height;
this.width = width;
}
static hasProperty(target) {
console.log(target)
console.log(this)
}
}
console.clear()
console.log(Object.getPrototypeOf())