Gollum@feddit.org to Programmer Humor@programming.dev · 3 months agoAnother smart movefeddit.orgimagemessage-square114linkfedilinkarrow-up1993
arrow-up1993imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 3 months agomessage-square114linkfedilink
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.