Gollum@feddit.org to Programmer Humor@programming.dev · 3 months agoAnother smart movefeddit.orgexternal-linkmessage-square114fedilinkarrow-up11K
arrow-up11Kexternal-linkAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 3 months agomessage-square114fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·3 months agoA lot of languages have a .last() or negative indexer ([-1]) to get the last item though.
A lot of languages have a
.last()
or negative indexer ([-1]
) to get the last item though.