spiralOrder = (matrix, order = []) => {
    const [ rows, cols ] = [ matrix.length, matrix[0].length ];
    const cells = (rows * cols);
    let [ top, bot, left, right ] = [ 0, (rows - 1), 0, (cols - 1) ];

    while (order.length < cells) {/* Time O(ROWS * COLS) */
        traverse(
            matrix, top, bot, left, right, order
        );                        /* Time O(ROWS * COLS) | Ignore Auxilary Spsace O(ROWS * COLS) */

        top++; bot--;
        left++; right--;
    }
    
    return order;
}
Matrix - Spiral Traversal Post Update
Array - Ignore Auxilary Space O(ROWS * COLS)
Time O(ROWS * COLS) | Space O(1)
https://leetcode.com/problems/spiral-matrix/
@param {number[][]} matrix
@return {number[]}