class App {
constructor() {
}
last = this.method();
date = {
month: new Date().getMonth()
}
method(){
let start = this.date.month
return start - 1
}
}
let f = new App();
console.log(f.last) // 9