@anonymous/

SeriousWorseTelephones

JavaScript

No description

fork
loading
main.js
1
2
3
4
5
6
7
8
9
10
function factorialize(num) {
  var factorial =1;
  for (var i = 2; i <= num ; i++)
    {
      factorial *= i;
    }
  return factorial;
}

factorialize(3);
Native Browser JavaScript