__coordinates(coord) {
		if ( ! coord.match(/[a-zA-Z][0-9]+/) ) {
			throw new Error(`Invalid coordinates given (${coord}).`);
		}

		const x = coord.charAt().toUpperCase().charCodeAt() - 65; // 65 = 'A'
		const y = parseInt(coord.substr(1), 10) - 1; // normalize 1 to 0
		
		return [x, y];
	}
/**
	* Convert a coordinate from the A1 notation to [x,y] notation.
	* @private
	* @param  {string} coord The A1 notation of the coordinates.
	* @return {Object} An object with the X property pointing to the X coordinate,
	* and the Y property pointing to the Y coordinate.
	*/
Convert a coordinate from the A1 notation to [x,y] notation.
@private
@param  {string} coord The A1 notation of the coordinates.
@return {Object} An object with the X property pointing to the X coordinate,
and the Y property pointing to the Y coordinate.
Convert a coordinate from the A1 notation to [ x y ] notation . @private @param { string } coord The A1 notation of the coordinates . @return { Object } An object with the X property pointing to the X coordinate and the Y property pointing to the Y coordinate .
__coordinates(coord) {
		if ( ! coord.match(/[a-zA-Z][0-9]+/) ) {
			throw new Error(`Invalid coordinates given (${coord}).`);
		}
		const x = coord.charAt().toUpperCase().charCodeAt() - 65; 
		const y = parseInt(coord.substr(1), 10) - 1; 
		return [x, y];
	}
__coordinates ( coord ) { if ( ! coord . match ( / [a-zA-Z][0-9]+ / ) ) { throw new Error ( ` ${ coord } ` ) ; } const x = coord . charAt ( ) . toUpperCase ( ) . charCodeAt ( ) - 65 ; const y = parseInt ( coord . substr ( 1 ) , 10 ) - 1 ; return [ x , y ] ; }
Convert a coordinate from the A1 notation to [x,y] notation.
Convert a coordinate from the A1 notation to [ x y ] notation .
// 65 = 'A' // normalize 1 to 0