Skip to content

Raghad Butaiban, Bashayer Alkhaldi#11

Open
rbutaiban wants to merge 1 commit intoJoinCODED:mainfrom
rbutaiban:main
Open

Raghad Butaiban, Bashayer Alkhaldi#11
rbutaiban wants to merge 1 commit intoJoinCODED:mainfrom
rbutaiban:main

Conversation

@rbutaiban
Copy link

No description provided.

// write your code here...
array.forEach(x => {
console.log(x);
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Drop the {} for one-line arrow functions:

array.forEach((x) => console.log(x));

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

Comments