• + 0 comments

    js solutions

    `function reverseArray(a) {
        // Write your code here
        let r = [];
        for(let i=0; i< a.length; i++){
            r.unshift(a[i]);
        }
        return r;
    }