Last active
August 10, 2018 02:42
-
-
Save mildocjr/f681d9989192f1378004b0d896a3800a to your computer and use it in GitHub Desktop.
mathmatics-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var firstNumber = 1 | |
| let secondNumber = 2 | |
| firstNumber += secondNumber | |
| // first number is now equal to 3 | |
| firstNumber *= secondNumber | |
| // first number is now equal to 6 becuase firstNumber became 3 in | |
| // the last operation and we just multiplied it by 2 | |
| firstNumber -= secondNumber | |
| // firstNumber is now 4 | |
| firstNumber /= secondNumber | |
| firstNumber /= secondNumber | |
| // that was on purpose because I want you to guess what the value is | |
| var name = "John" | |
| var lastName = "Doe" | |
| var name += (" " + lastName) | |
| // name is now "John Doe" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment