Skip to content

Instantly share code, notes, and snippets.

@zachgoll
Created December 24, 2020 23:23
Show Gist options
  • Select an option

  • Save zachgoll/87d96a90cd9c43e92bb26b51dd50f9f4 to your computer and use it in GitHub Desktop.

Select an option

Save zachgoll/87d96a90cd9c43e92bb26b51dd50f9f4 to your computer and use it in GitHub Desktop.
// Oh hey, this is a comment because the line starts with two forward slashes. It doesn't affect the code
let counterVariable = 1;
// Increases the variable by 1
counterVariable = counterVariable + 1;
// ALSO increases the variable by 1 (this is the shorthand version)
counterVariable++;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment