_trimExcess(array) {
        const [width, first] = this._getArrayWidth(array);
        array.forEach((row) => {
            row.splice(0, first); // the first truthy index is also the number of elements before that index
            row.splice(width, row.length); // the width indicates the distance from the first truthy index to the last
        });
    } // trimExcess
/**
     * Trims columns that contain no truthy values.
     * @param {!object[]][]} array
     */
Trims columns that contain no truthy values.
Trims columns that contain no truthy values .
_trimExcess(array) {
        const [width, first] = this._getArrayWidth(array);
        array.forEach((row) => {
            row.splice(0, first); 
            row.splice(width, row.length); 
        });
    } 
_trimExcess ( array ) { const [ width , first ] = this . _getArrayWidth ( array ) ; array . forEach ( ( row ) => { row . splice ( 0 , first ) ; row . splice ( width , row . length ) ; } ) ; }
Trims columns that contain no truthy values.
Trims columns that contain no truthy values .
// the first truthy index is also the number of elements before that index // the width indicates the distance from the first truthy index to the last // trimExcess