14 lines
No EOL
171 B
JavaScript
14 lines
No EOL
171 B
JavaScript
function foo(a, b, c) {
|
|
let x = [];
|
|
if (a) {
|
|
if (b) {
|
|
if (c) {
|
|
0 |> x.push(%);
|
|
}
|
|
}
|
|
}
|
|
if (x.length) {
|
|
return x;
|
|
}
|
|
return null;
|
|
} |