JSFiddle - React, Tailwind, and code Playground

by Artem

JavaScript

'use strict';

class Parent {
	constructor(a) {
		this.a = a;
	}
}

class Child extends Parent {

}

var c = new Child();
// console.log(c);
console.log('a' in c)