Skip to content

Conversation

@terratamo
Copy link

good job 👍




console.log('second method');
Copy link
Collaborator

Choose a reason for hiding this comment

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

The second method to increment counter by 2 should be:
counter++;
counter++;

counter = 2 assigns the value of 2 to counter, but doesn't increase the value by 2.

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.

👍

//4

let a ="sky"
console.log("value of string wil be:rainbow");
Copy link
Collaborator

Choose a reason for hiding this comment

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

the value of the string a will be rainbow? but line 19 has let a = "sky".

@terratamo
Copy link
Author

terratamo commented Sep 3, 2019 via email

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