topic description
instead of using for loops, an array is returned based on the passed parameters
sources of topics and their own ideas
when I saw the face-to-face test questions on the Internet, when I typed, I found that some of the code using comments was incorrect, and I don"t know why
related codes
var num = 5;
function show(n) {
    var arr = [];
    return (function fn() {
        arr.unshift(n);
        n --;
        if(n != 0) {
            fn() 
        }
        // else {
        //     return arr;
        // }
        return arr;
    })()
}