Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elmira's feedback #1

Open
elmira202003 opened this issue Feb 12, 2018 · 1 comment
Open

Elmira's feedback #1

elmira202003 opened this issue Feb 12, 2018 · 1 comment

Comments

@elmira202003
Copy link

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 ;)

@jamsrahimi
Copy link
Owner

Thank you Elmira, I fixed them all. Glad that you guided me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants