/**
 * Ensures that 0 <= 'value' < 'limit'.  Throws a RangeError otherwise.
 */ export function ensureRange ( value , limit ) { const _value = value >>> 0 ; if ( _value >= limit ) { throw new RangeError ( "Invalid (row, col) coordinate." ) ; } }