Answers for "how to get last record in array"

1

javascript get last element of array

var last = arr.slice(-1)[0]
Posted by: Guest on January-10-2022

Code answers related to "how to get last record in array"

Code answers related to "Javascript"

Browse Popular Code Answers by Language