class Test { public constructor() { for (let it=0; it<10; it++) { } } private doSomething() { } }