class A extends B { // leading comment constructor() { super(); } // trailing comment }