function isWall(x, y, outside) {
  if (x < 0 || x >= WIDTH || y < 0 || y >= HEIGHT) {
    return outside;
  }
  return walls[x][y];
}
// If the coordinates are out of bounds, return outside.
If the coordinates are out of bounds, return outside.
If the coordinates are out of bounds return outside .
function isWall(x, y, outside) {
  if (x < 0 || x >= WIDTH || y < 0 || y >= HEIGHT) {
    return outside;
  }
  return walls[x][y];
}
function isWall ( x , y , outside ) { if ( x < 0 || x >= WIDTH || y < 0 || y >= HEIGHT ) { return outside ; } return walls [ x ] [ y ] ; }
If the coordinates are out of bounds, return outside.
If the coordinates are out of bounds return outside .