Returns true if the two objects have the same values
const circleA = { radius: 10, x: 5, y: 5 };const circleB = { radius: 10, x: 5, y: 5 };circleA === circleB; // false, because identity of objects is differentCircles.isEqual(circleA, circleB); // true, because values are the same Copy
const circleA = { radius: 10, x: 5, y: 5 };const circleB = { radius: 10, x: 5, y: 5 };circleA === circleB; // false, because identity of objects is differentCircles.isEqual(circleA, circleB); // true, because values are the same
Circles must both be positioned or not.
Returns true if the two objects have the same values
Circles must both be positioned or not.