_getArrayWidth(array) {
        let firstElementIndex = -1;
        let lastElementIndex = -1;
        array.forEach((row) => {
            row.forEach((elem, i) => {
                if (elem && (firstElementIndex < 0 || i < firstElementIndex)) {
                    firstElementIndex = i;
                    lastElementIndex = i;
                } else if (elem && i > lastElementIndex) {
                    lastElementIndex = i;
                }// if
            });
        });
        return [lastElementIndex - firstElementIndex + 1, firstElementIndex];
    } // getArrayWidth
/**
     * Returns an integer denoting the "width" of an array,
     * which I define as the index of the last truthy value
     * minus the index of the first truthy value plus one.
     *
     * A negative width indicates that no truthy values were found.
     *
     * @param {!object[][]} array the array of whose "width" to calculate
     * @return the "width", as defined above, of array
     */
Returns an integer denoting the "width" of an array,
which I define as the index of the last truthy value
minus the index of the first truthy value plus one.

A negative width indicates that no truthy values were found.

@param {!object[][]} array the array of whose "width" to calculate
@return the "width", as defined above, of array
Returns an integer denoting the " width " of an array which I define as the index of the last truthy value minus the index of the first truthy value plus one . A negative width indicates that no truthy values were found . @param { !object [] [] } array the array of whose " width " to calculate @return the " width " as defined above of array
_getArrayWidth(array) {
        let firstElementIndex = -1;
        let lastElementIndex = -1;
        array.forEach((row) => {
            row.forEach((elem, i) => {
                if (elem && (firstElementIndex < 0 || i < firstElementIndex)) {
                    firstElementIndex = i;
                    lastElementIndex = i;
                } else if (elem && i > lastElementIndex) {
                    lastElementIndex = i;
                }
            });
        });
        return [lastElementIndex - firstElementIndex + 1, firstElementIndex];
    } 
_getArrayWidth ( array ) { let firstElementIndex = - 1 ; let lastElementIndex = - 1 ; array . forEach ( ( row ) => { row . forEach ( ( elem , i ) => { if ( elem && ( firstElementIndex < 0 || i < firstElementIndex ) ) { firstElementIndex = i ; lastElementIndex = i ; } else if ( elem && i > lastElementIndex ) { lastElementIndex = i ; } } ) ; } ) ; return [ lastElementIndex - firstElementIndex + 1 , firstElementIndex ] ; }
Returns an integer denoting the "width" of an array,
 which I define as the index of the last truthy value
 minus the index of the first truthy value plus one.
Returns an integer denoting the " width " of an array which I define as the index of the last truthy value minus the index of the first truthy value plus one .
// if // getArrayWidth