npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

fj-yc

1.0.0

@hemanth

npmHomeRepoSnykSocket
Downloads:3
$ npm install fj-yc
DailyWeeklyMonthlyYearly

fj-yc

Build Status npm version

The Applicative Order Y Combinator.

Installation

npm install fj-yc --save

Usage

var YC = require('fj-yc');
let fact = YC((fac) => (n) => n <= 2 ? n : n * fac(n - 1));
fact(5) // 120;