This is another Testing post

in #pododdle6 years ago

Sometimes it's desired to uniquify a list based on some criteria other than just equality, for example, to filter out objects that are different, but share some property. This can be done elegantly by passing a callback. This "key" callback is applied to each element, and elements with equal "keys" are removed. Since key is expected to return a primitive, hash table will work fine here:

Coin Marketplace

STEEM 0.19
TRX 0.16
JST 0.030
BTC 66050.37
ETH 2629.02
USDT 1.00
SBD 2.68