Skip to content

exp

exp(target, source)

Raises target to the power of source and returns the result.

ts
exp(2, 3); // 8
exp(5, 2); // 25
ts
pipe(2, exp(3)); // 8
pipe(5, exp(2)); // 25