Closed kentcdodds closed 5 years ago
I want to add a last function that I can use like this:
last
const array = [1, 2, 3] const lastItem = last(array) // 3
Cool?!
Yeah! Sounds great!
... am I talking to myself???
What stack overflow answer will you use?
This one! https://stackoverflow.com/a/45324119
Great! DO it!
Done it!
I want to add a
last
function that I can use like this:Cool?!