Skip to content

Instantly share code, notes, and snippets.

@jaamaalxyz
Last active February 27, 2018 03:50
Show Gist options
  • Save jaamaalxyz/17c7a3b7954322ea770d86d6b4e43397 to your computer and use it in GitHub Desktop.
Save jaamaalxyz/17c7a3b7954322ea770d86d6b4e43397 to your computer and use it in GitHub Desktop.
// Previuos groceries prices
var potatoPrice = 20;
var tomatoPrice = 30;
var fishPrice = 160;
console.log(potatoPrice); //should be present: 20
// If we want to change potato price
potatoPrice = 25;
console.log(potatoPrice); //should be present: 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment