I think it ' s much funny to just be weird until they unmatch me themselves , which she did after I asked if she wanted the gummy bears out my butt . Haha <| sep |> cyberport . de is nice aswell , they got shops too <| sep |> I ' d like to see that too but IMO it will only work if the entire nation goes to ranked choice voting like Maine did . <| sep |> The output isn ' t exactly what you asked for , but IMO it ' s a more workable format and could easily be converted to your format if absolutely needed . I ' m sure this could be shortened , but here it is function getChangesoldInventory , newInventory var changes Object . keysnewInventory . mapfunctionkey , index var value newInventory if key in oldInventory changes value . colors . length oldInventory . colors . length else changes value . colors . length Object . keysoldInventory . mapfunctionkey , index var value oldInventory if ! key in newInventory changes value . colors . length return changes And here is the object returned apple 1 , kiwi 0 , salad 2 , pineapple 2 , melon 3 , lemon 4