Skip to content

Conversation

@kursadc
Copy link

@kursadc kursadc commented Aug 25, 2019

No description provided.

Copy link
Collaborator

@epq epq 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!

name = "Begum"

//iv
console.log("the value of my string will be:Kursad")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe you copied this console.log statement from line 31, but look at line 37 for the new value of name.

let hair = "short"

//Question 13
namesKittens = ["Kyle Meowry","Luna","Obi","Charlie","Raspberries"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good, but make sure to use let or const to declare your array variables.

console.log(counter+=2)
console.log(counter = counter +2)
console.log(counter++)
console.log(++counter)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good job using the prefix increment operator here to show the result!

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