function breakLine() { console.log('///////////////////////////////////////////////'); } function log(...value) { console.log(...value); } class Class2 { fun1() {return 'Class2-fun1';} fun2() {return 'Class2-fun2';} } var _c2 = new Class2(); log(typeof Class2); log(typeof _c2, _c2.fun1(), _c2.fun2());