A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
8
Task/Man-or-boy-test/JavaScript/man-or-boy-test.js
Normal file
8
Task/Man-or-boy-test/JavaScript/man-or-boy-test.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function A(k, x1, x2, x3, x4, x5) {
|
||||
function B() A(--k, B, x1, x2, x3, x4);
|
||||
return k <= 0 ? x4() + x5() : B();
|
||||
}
|
||||
|
||||
function K(n) function() n;
|
||||
|
||||
alert(A(10, K(1), K(-1), K(-1), K(1), K(0)));
|
||||
Loading…
Add table
Add a link
Reference in a new issue