JSFiddle - React, Tailwind, and code Playground
find the paths
HTML
<div id="out"></div>
JavaScript
const out = document.getElementById('out');
const pointA = {x:1, y:1}
const pointB = {x:3, y:3}
function pathNr (A, B) {
return 1
}
out.innerHTML = pathNr(pointA, pointB)