# last(最後の要素)

# JavaScript

items.slice(-1)[0]

# PHP

end($items)

# PowerShell

Select-Object -Last

# Python

items[-1]

# Ruby

items.last

# Swift

items.last

# TypeScript

items[items.length - 1]

[ 📩 ご意見 ]