Skip to content

Lola Heffernan [JavaScript-IV] - #379

Open
lolax wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
lolax:master
Open

Lola Heffernan [JavaScript-IV]#379
lolax wants to merge 3 commits into
bloominstituteoftechnology:masterfrom
lolax:master

Conversation

@lolax

@lolax lolax commented Sep 13, 2018

Copy link
Copy Markdown

No description provided.

return `${this.name} has begun sprint challenge on ${subject}.`;
}
graduate() {
return (this.grade < 70 ? 'You didn\'t graduate! ~_~ Try again!' : 'You graduated! :D');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

love the ternary operator here!

return `${student.name} receives a perfect score on ${subject}.`;
}
distributePoints(student) {
let addOrSubtract = Math.random();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

well done on this!

console.log(geralt.speak());
console.log(bigBoss.distributePoints(stuart));
console.log(lola.graduate());
console.log(stuart.graduate());

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Well done on your Lambda Classes!

}
greet() {
return `${this.name} offers a greeting in ${this.language}.`;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nice job on your refactor

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