Returns true if the points have identical values
const a = {x: 10, y: 10};const b = {x: 10, y: 10;};a === b // False, because a and be are different objectsisEqual(a, b) // True, because a and b are same value Copy
const a = {x: 10, y: 10};const b = {x: 10, y: 10;};a === b // False, because a and be are different objectsisEqual(a, b) // True, because a and b are same value
Rest
Points
True if points are equal
Returns true if the points have identical values