Skip to content

Conversation

@anjing0921
Copy link

No description provided.

// Implement this method for wave 1
// initial drawLetters, cloneLetterPool, letters
const drawLetters = [];
let cloneLetterPool = {...letterPool};

Choose a reason for hiding this comment

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

Nice use of spread syntax

};

// check input letter
for (let cha of input) {

Choose a reason for hiding this comment

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

I might call this something like inputLetter instead of cha (for character, right?) :)

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