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

Solutions and test #61 #68

Merged
merged 3 commits into from
Jun 5, 2017
Merged

Solutions and test #61 #68

merged 3 commits into from
Jun 5, 2017

Conversation

ColinX13
Copy link
Contributor

@ColinX13 ColinX13 commented Jun 5, 2017

No description provided.

solutions/61.js Outdated
* @return {number} factor - the greatest common factor for num1 and num2
*/
const solution = (num1, num2) => {
for(factor = num1; factor >= 1; factor--){
Copy link
Collaborator

Choose a reason for hiding this comment

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

declare the variable: let factor

@yjlim5 yjlim5 merged commit 7c1ecfd into llipio:master Jun 5, 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