export const quadrant = (point) => {
  const x = getX(point);
  const y = getY(point);

  if (x > 0 && y > 0) {
    return 1;
  } else if (x < 0 && y > 0) {
    return 2;
  } else if (x < 0 && y < 0) {
    return 3;
  } else if (x > 0 && y < 0) {
    return 4;
  }

  return null;
}

export const makePoint = (x, y) => ({x, y});
export const getX = point => point.x;
export const getY = point => point.y;

@@ -1,405 +1 @@
-export const quadrant = (point) =%3E %7B%0A  const x = getX(point);%0A  const y = getY(point);%0A%0A  if (x %3E 0 && y %3E 0) %7B%0A    return 1;%0A  %7D else if (x %3C 0 && y %3E 0) %7B%0A    return 2;%0A  %7D else if (x %3C 0 && y %3C 0) %7B%0A    return 3;%0A  %7D else if (x %3E 0 && y %3C 0) %7B%0A    return 4;%0A  %7D%0A%0A  return null;%0A%7D%0A%0Aexport const makePoint = (x, y) =%3E (%7Bx, y%7D);%0Aexport const getX = point =%3E point.x;%0Aexport const getY = point =%3E point.y;
 %0A

Remove problem solution