struct Point {x, y} var point = Point(1, 2) say point.y #=> 2
Last updated 1 year ago
Was this helpful?