{"ScriptPreparationCode":"var arr = [{\u0022id\u0022: 1, \u0022name\u0022:\u0022Name1\u0022, \u0022country\u0022:\u0022USA\u0022}, {\u0022id\u0022: 2, \u0022name\u0022:\u0022Name2\u0022, \u0022country\u0022:\u0022Scotland\u0022}, {\u0022id\u0022: 3, \u0022name\u0022:\u0022Name3\u0022, \u0022country\u0022:\u0022USA\u0022}, {\u0022id\u0022: 4, \u0022name\u0022:\u0022Name4\u0022, \u0022country\u0022:\u0022USA\u0022}, {\u0022id\u0022: 5, \u0022name\u0022:\u0022Name5\u0022, \u0022country\u0022:\u0022Scotland\u0022}, {\u0022id\u0022: 6, \u0022name\u0022:\u0022Name6\u0022, \u0022country\u0022:\u0022Poland\u0022}, {\u0022id\u0022: 7, \u0022name\u0022:\u0022Name7\u0022, \u0022country\u0022:\u0022USA\u0022}];","TestCases":[{"Name":"Map then create Set","Code":"return new Set(arr.map((o) =\u003E o.country));","IsDeferred":false},{"Name":"Map then use Lodash uniq","Code":"return _.uniq(arr.map((o) =\u003E o.country));","IsDeferred":false},{"Name":"Use Lodash then map","Code":"return _.uniqBy(arr, \u0027country\u0027).map((o) =\u003E o.country);","IsDeferred":false}]}