class student
{
studentID:number=100;
student:string="Ram";
feesPaid:boolean= true;
mystudent():void {
this.feesPaid;
this.studentID;
}
}
var obj= new student();
obj.mystudent();
The command promt displays the weird error : ";" is expected. Please help to understand the error.

Jayakumar BalasubramaniamRank #267 · 9.5K reputationPosted Jun 9, 2018, 8:29 AM EDT
Bhairab DuttRank #799 · 2.9K reputationPosted Jun 9, 2018, 8:37 AM EDT
Atul Unhale11 reputationPosted Jun 9, 2018, 7:51 PM EDT