Gollum@feddit.org to Programmer Humor@programming.dev · 7 months agoAnother smart movefeddit.orgimagemessage-square112fedilinkarrow-up1995
arrow-up1995imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 7 months agomessage-square112fedilink
minus-squaredan@upvote.aulinkfedilinkarrow-up3·7 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.