I'm working on something like this:
my object looks like that:
{
a: 1,
b: 2,
c: 3,
game01: 1,
game02: 2,
game03: 3
}
what I need to do is to return from it an object containing only last 3 pairs so it'd look like that:
{
game01: 1,
game02: 2,
game03: 3
}
I would prefer not to do that manually but it'd be the best to use a something similar as filtering an array.
Thanks!