Skip to content

JS Week7 Homework#7

Open
HomamS wants to merge 1 commit into
hackyourfuturecanada:masterfrom
HomamS:master
Open

JS Week7 Homework#7
HomamS wants to merge 1 commit into
hackyourfuturecanada:masterfrom
HomamS:master

Conversation

@HomamS
Copy link
Copy Markdown

@HomamS HomamS commented Sep 1, 2019

No description provided.

@saadkahmed
Copy link
Copy Markdown

your code works fine mostly. But it can be made shorter and clearer. for example, using more descriptive variable names instead of value1, value 2. Also, try to think of ways to use less if statements, it can make the code easier to read.
Part 2 Q3: try using a for loop to iterate through the object properties and print them.

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