You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear Jamshid, I think you can define an array for rating , then for avarageRating you van get average. and an other thing that maybe you want to use, the relation between dateOfBirth and Age below is here:
let now = new Date();
let age = now.getFullYear() - this.dateOfBirth;
return age;
good luck ;)
The text was updated successfully, but these errors were encountered:
Dear Jamshid, I think you can define an array for rating , then for avarageRating you van get average. and an other thing that maybe you want to use, the relation between dateOfBirth and Age below is here:
let now = new Date();
let age = now.getFullYear() - this.dateOfBirth;
return age;
good luck ;)
The text was updated successfully, but these errors were encountered: