class My { constructor() { footer(); } } new My()