Created
June 10, 2020 09:14
-
-
Save markusdybeck/8ae92af46e02cc5430dba1e13d79f6e2 to your computer and use it in GitHub Desktop.
Record equals
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var point1 = new Point(0, 3); | |
var point2 = new Point(0, 3); | |
var point3 = new Point(3, 0); | |
point1.equals(point2); // true | |
point1.equals(point3); // false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment