Gollum@feddit.org to Programmer Humor@programming.dev · 4 个月前Another smart movefeddit.orgimagemessage-square114fedilinkarrow-up11Karrow-down136
arrow-up1967arrow-down1imageAnother smart movefeddit.orgGollum@feddit.org to Programmer Humor@programming.dev · 4 个月前message-square114fedilink
minus-squaredanAlinkfedilinkarrow-up3·4 个月前A 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.