JSFiddle - React, Tailwind, and code Playground
JavaScript
function point(pointX, pointY) {
let deltaX = (pointX - x);
let deltaY = (pointY - y);
if (deltaY = 0) {
if (deltaX < 0) {
}
} else {
}
}
function point(pointX, pointY) {
let deltaX = (pointX - x);
let deltaY = (pointY - y);
if (deltaY = 0) {
if (deltaX < 0) {
}
} else {
}
}