|
|
|
|
|
by alerighi
1894 days ago
|
|
That code is ugly anyway, something I would have wrote in middle school... why not: function check(x) {
return test1(x) && test2(x) && test3(x) && test4(x);
}
Or, since I assume is JavaScript, just: const check = x => test1(x) && test2(x) && test3(x) && test4(x);
|
|