Javascript – How can I get last three values from array of objects
I have an array of object with a few values. I would like to get only last, three values (ownerSurname, color and bark). I tried to use slice or length but with failure. const myValues: MyValues<string>[] = [ { name:…