Class: factorial

factorial

new factorial()

Source:

Members

(static, readonly) PREPARED :Array

Array of factorials up to n = 100; the first 21 are integers, and the rest are strings
Type:
  • Array
Properties:
Name Type Description
PREPARED
Source:

Methods

(static) of(n) → {Integer}

Return the factorial of n as a Javascript number
Parameters:
Name Type Description
n Integer
Source:
Returns:
factorial of n
Type
Integer