Skip to content

Instantly share code, notes, and snippets.

@jaamaalxyz
Last active July 21, 2018 06:21
Show Gist options
  • Save jaamaalxyz/1d394d9cd410f80e9d6dc49bc393c14b to your computer and use it in GitHub Desktop.
Save jaamaalxyz/1d394d9cd410f80e9d6dc49bc393c14b to your computer and use it in GitHub Desktop.
// Declare length and width
const length = 5;
const width = 10;
// calculate area
const firstArea = length * width;
console.log(firstArea); // 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment