JSFiddle - React, Tailwind, and code Playground

by ChangJoo Park

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())