Gollum@feddit.org to Programmer Humor@programming.dev · 3 months agoAnother smart movefeddit.orgimagemessage-square110fedilinkarrow-up1997
arrow-up1997imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 3 months agomessage-square110fedilink
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.