Skip to content

comit of arrays#132

Open
dagmara-opalka wants to merge 1 commit into
devmentor-pl:masterfrom
dagmara-opalka:master
Open

comit of arrays#132
dagmara-opalka wants to merge 1 commit into
devmentor-pl:masterfrom
dagmara-opalka:master

Conversation

@dagmara-opalka
Copy link
Copy Markdown

prosze o code review :)

Copy link
Copy Markdown
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Dagmaro,

Ponownie, wszystko ok! 🥇

Comment thread 01/app.js
console.log(users[2])
console.log(users[4])

console.log(users.length) No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 02/app.js
});

const lastElement = randomArray[randomArray.length - 1];
console.log("Ostatni element tablicy:", lastElement); No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 03/app.js
}
}

console.log("Tablica liczb nieparzystych:", oddNumbers); No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 04/app.js

const yearsPassed = years.map(year => currentYear - year);

console.log(yearsPassed); No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

Comment thread 05/app.js
.filter(number => number % 2 === 0)
.reduce((sum, number) => sum + number, 0);

console.log(evenNumbersSum); No newline at end of file
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

👍

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