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

Complete. #76

Closed
wants to merge 4 commits into from
Closed

Complete. #76

wants to merge 4 commits into from

Conversation

CandaceNia
Copy link

No description provided.

@Krafalski Krafalski closed this Sep 26, 2022
//
const isEveryNumGreaterThan2 = (nums) => {
const numbersAbove2 = nums.every(
(num) => { return num >= 2

Choose a reason for hiding this comment

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

Since the body of the callback is a single line, try using an implicit return

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