Skip to content

Conversation

@seemcat
Copy link
Contributor

@seemcat seemcat commented Jun 6, 2017

No description provided.

} else {
i++;
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@seemcat you can condense this as:
while (i < arr.length) { if (num !== arr[i]) { newArr.push(arr[i]); } i++; }

Copy link
Collaborator

Choose a reason for hiding this comment

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

@seemcat this change needs to be made.

solutions/33.js Outdated

const solution = (arr, num) => {
let i = 0;
let newArr = []
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing a semicolon at the end

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Resolved. Thanks!

Copy link
Collaborator

@yjlim5 yjlim5 left a comment

Choose a reason for hiding this comment

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

@seemcat , just one more change to address and this PR will be good to go.

@seemcat
Copy link
Contributor Author

seemcat commented Jun 22, 2017

@yjlim5 What changes?

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.

3 participants