λ

JFP: Javascript Function Processor

##Math Functions

add

####Example

j.add();

//0

j.add(1);

//1

j.add(1, 2);

//3

j.add(1, 2, 3, 4, 5);

//15

divide

####Example

j.divide();

//1

j.divide(12);

//1

j.divide(12, 2);

//6

j.divide(12, 2, 3);

//2

equal

####Example

j.equal(1, 1);

//true

j.equal(1, 2);

//false

fac

####Example

j.fac(0);

//1

j.fac(5);

//120

inc

####Example

j.inc(5);

//6

geq

####Example

j.geq(1, 1);

//true

j.geq(2, 1);

//true

j.geq(1, 2);

//false

greater

####Example

j.greater(2, 1);

//true

j.greater(1, 1);

//false

j.greater(1, 2);

//false

leq

####Example

j.leq(1, 2);

//true

j.leq(1, 1);

//true

j.leq(2, 1);

//false

less

####Example

j.leq(1, 2);

//true

j.leq(1, 1);

//true

j.leq(2, 1);

//false

max

####Example

j.max();

//-1.7976931348623157e+308

j.max(5);

//5

j.max(5, 6);

//6

min

####Example

j.min();

//1.7976931348623157e+308

j.min(5);

//5

j.min(5, 6);

//5

mod

####Example

j.mod(4, 2);

//0

j.mod(11, 4);

//3

multiply

####Example

j.multiply();

//1

j.multiply(2);

//2

j.multiply(2, 3);

//6

j.multiply(2, 3, 4, 5);

//120

range

####Example

j.range(4);

//[0, 1, 2, 3]

j.range(2, 10);

//[2, 3, 4, 5, 6, 7, 8, 9]

j.range(0, 20, 4);

//[0, 4, 8, 12, 16]

j.range(100, 0, -10);

//[100, 90, 80, 70, 60, 50, 40, 30, 20, 10]

subtract

####Example

j.subtract();

//0

j.subtract(1);

//1

j.subtract(3, 2);

//1

j.subtract(8, 5, 3, 2, 1);

//-3