JSFiddle - React, Tailwind, and code Playground

by evgkch

JavaScript

const doubleFact = n => n === 0 ? 1 : n === 1 ? 1 : doubleFact(n - 2)