function cellMarked(elCell) {
    var elCurrCell = document.querySelector(`.${elCell}`);

    elCurrCell.innerHTML += FLAG_IMG;
}
//Called on right click to mark a cell as suspected to have a mine
Called on right click to mark a cell as suspected to have a mine
Called on right click to mark a cell as suspected to have a mine
function cellMarked(elCell) {
    var elCurrCell = document.querySelector(`.${elCell}`);
    elCurrCell.innerHTML += FLAG_IMG;
}
function cellMarked ( elCell ) { var elCurrCell = document . querySelector ( ` ${ elCell } ` ) ; elCurrCell . innerHTML += FLAG_IMG ; }
Called on right click to mark a cell as suspected to have a mine
Called on right click to mark a cell as suspected to have a mine