const allElementContainGrepperClassName = document.querySelectorAll('.grepper');
// => return array of all elements
const firstElementContainGrepperClassName = document.querySelector('.grepper');
class Foo {
public doSomething(){
return 5;
}
}
let foo = new Foo();
let propertyNames = Object.getOwnPropertyNames(Object.getPrototypeOf(foo));