Join Slack
Powered by
for `Collection.drop(n: Int)` does `drop(-2)` drop...
# getting-started
h
Hullaballoonatic
06/19/2018, 6:56 PM
for
Collection.drop(n: Int)
does
drop(-2)
drop the last 2 objects, or the last 3? basically, does 0 count as the first object in reverse, so
drop(-0)
would drop the last object?
2
Views
Open in Slack
Previous
Next