TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Atul Unhale
NA
9
513
I am unable to run the following typescript program.
Jun 9 2018 11:40 AM
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.
Reply
Answers (
3
)
How to collapse and expand menu
Difference between .net core and mvc5