-
Notifications
You must be signed in to change notification settings - Fork 50
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
Leaves--Janice #39
base: master
Are you sure you want to change the base?
Leaves--Janice #39
Conversation
…th arrays for values and finding keys (point values) by searching those array then finding corresponding keys
JS AdagramsWhat We're Looking For
|
drawLetters() { | ||
// Implement this method for wave 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, you shuffle the entire array pool of letters... and then, you take the first ten. Consider refactoring this so that you randomly pick ten letters, instead of shuffling the entire array.
scoreWord, | ||
|
||
highestScoreFrom(words) { | ||
let wordCollection = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using comments to outline your logic here. There's a lot going on, there may be an opportunity for a helper function.
JS Adagrams
Congratulations! You're submitting your assignment!
Comprehension Questions
if
andwhile
return
out of a forEach!