Skip to content

Instantly share code, notes, and snippets.

@claudiainbytes
Created August 22, 2017 20:23
Show Gist options
  • Select an option

  • Save claudiainbytes/939f757eca0c5c6f82817e3607d71729 to your computer and use it in GitHub Desktop.

Select an option

Save claudiainbytes/939f757eca0c5c6f82817e3607d71729 to your computer and use it in GitHub Desktop.
/*
* Programming Quiz: Factorials (4-7)
*/
var solution = 1;
// your code goes here
for (var x = 1; x <= 12; x++) {
solution = solution * x;
}
console.log(solution);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment