{"ScriptPreparationCode":"var array = [];\r\n\r\nfor (var i=0; i\u003C=10000; i\u002B\u002B) {\r\n array.push({ name: \u0027Mr.\u0027 \u002B i, age: i % 100 })\r\n}","TestCases":[{"Name":"Lodash Uniq","Code":"_.uniq(_.map(array, a =\u003E a.age))","IsDeferred":false},{"Name":"Javascript Set","Code":"var unique = [];\r\nvar distinct = [];\r\nfor( let i = 0; i \u003C array.length; i\u002B\u002B ){\r\n if( !unique[array[i].age]){\r\n distinct.push(array[i].age);\r\n unique[array[i].age] = 1;\r\n }\r\n}","IsDeferred":false}]}