const buildCheckerboard1 = (x, y) => x !== 0 ? (x % 2 == 0 ? '# ' : ' #').repeat(y) + "\n" + buildCheckerboard1(x-1, y) : ''