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

update(JS): web/javascript/reference/global_objects/array/reduce/index.md #322

Merged
merged 3 commits into from
Jun 7, 2022

Conversation


```js
const getMax = (a, b) => Math.max(a, b);

// функція зворотного виклику виконується на кожному елементі масиву, починаючи з 0
[1, 100].reduce(getMax, 50); // 100
[ 50].reduce(getMax, 10); // 50
Copy link
Member

Choose a reason for hiding this comment

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

ну типу ок, але 😢

Copy link
Contributor Author

Choose a reason for hiding this comment

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

В мене маркдаунлінт чомусь таке ріже

Copy link
Member

Choose a reason for hiding this comment

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

треба глянути, може і в мене ріже...

Copy link
Member

@AdriandeCita AdriandeCita left a comment

Choose a reason for hiding this comment

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

Декілька зауважень

@AdriandeCita AdriandeCita merged commit 0677b81 into master Jun 7, 2022
@AdriandeCita AdriandeCita deleted the update/js-ref-go-array-reduce branch June 11, 2022 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants