Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

js2 homework week2 #188

Closed
wants to merge 2 commits into from
Closed

js2 homework week2 #188

wants to merge 2 commits into from

Conversation

Kani103
Copy link

@Kani103 Kani103 commented Nov 24, 2018

No description provided.

Copy link

@rohni rohni left a comment

Choose a reason for hiding this comment

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

Good job, it works, and the results are correct.
🥇

@@ -2,10 +2,104 @@
{
const bookTitles = [
Copy link

Choose a reason for hiding this comment

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

This should be on its own branch, not master.
As a result of doing this correctly, I would not be seeing all the week1 diffs in week2's homework. 😄

@@ -3,3 +3,10 @@
const numbers = [1, 2, 3, 4];

// Add your code here
const numbers = [1, 2, 3, 4];
Copy link

Choose a reason for hiding this comment

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

Nice job here.
Did you run this? Because it should have given you an error, you are defining numbers twice as a constant.

Copy link

Choose a reason for hiding this comment

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

Have you thought about using arrow functions (=>) here? They can make things more readable, and less typing. 😛

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants