JSFiddle - React, Tailwind, and code Playground
by kahen
HTML
Result is:
<pre>
<script type="text/javascript">document.write("0" + man_or_boy(2))</script>
</pre>
JavaScript
function A(k, x1, x2, x3, x4, x5) {
function B() { return A(--k, B, x1, x2, x3, x4); }
return k <= 0 ? x4() + x5() : B();
}
function K(n) {
return (function() { return n; });
}
function man_or_boy(n) {
return A(n, K(1), K(-1), K(-1), K(1), K(0));
}