class ClassWithClosuresNewStyle { constructor(id) { this.id = id; } isMatch = (num) => { return !!this.id.id && num %2 === 0; } }