code: function isSamePoint(pointA, pointB) {
    return pointA.node === pointB.node && pointA.offset === pointB.offset;
  }
docs: returns whether pointA and pointB is same or not.
  
  @param {BoundaryPoint} pointA
  @param {BoundaryPoint} pointB
  @return {Boolean}