Skip to content

kei ueda#37

Closed
Bahamutezero wants to merge 1 commit intobloominstituteoftechnology:masterfrom
Bahamutezero:master
Closed

kei ueda#37
Bahamutezero wants to merge 1 commit intobloominstituteoftechnology:masterfrom
Bahamutezero:master

Conversation

@Bahamutezero
Copy link
Copy Markdown

i

Comment thread src/class.js
}
comparePasswords(potentialPassword) {
if (potentialPassword === this.password) return true;
return false;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can do this with one line return potentialPassword === this.password

Comment thread src/class.js
this.age = options.age;
}
growOlder() {
return this.age;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to increment the age with growOlder()

Copy link
Copy Markdown

@sperrye sperrye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work

@sperrye sperrye closed this Oct 19, 2017
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

Successfully merging this pull request may close these issues.

2 participants