{"ScriptPreparationCode":"const obj = {\r\n \u00271\u0027: 1,\r\n \u00272\u0027: 2,\r\n \u00273\u0027: 3,\r\n \u00274\u0027: 4,\r\n \u00275\u0027: 5,\r\n \u00276\u0027: 6,\r\n \u00277\u0027: 7,\r\n \u00278\u0027: 8,\r\n \u00279\u0027: 9,\r\n \u002710\u0027: 10,\r\n \u002711\u0027: 11,\r\n \u002712\u0027: 12,\r\n \u002713\u0027: 13\r\n}\r\n\r\nfunction mapper(el) {\r\n return el \u002B 10\r\n}\r\nfunction lodashObjectMap () {\r\n res = _.map(obj, mapper)\r\n console.log(res)\r\n}\r\n\r\nfunction jsValuesMap () {\r\n res = Object.values(obj).map(mapper)\r\n console.log(res)\r\n}\r\n\r\nconst arr = [1,2,3,4,5,6,7,8,9,10,11,12,13]\r\n\r\nfunction lodashArrayMap() {\r\n res = _.map(arr, mapper)\r\n console.log(res)\r\n}\r\n\r\nfunction jsMap(){\r\n res = arr.map(mapper)\r\n console.log(res)\r\n}\r\n\r\n","TestCases":[{"Name":"Native Object Map","Code":"jsValuesMap()","IsDeferred":false},{"Name":"Lodash Object Map","Code":"lodashObjectMap()","IsDeferred":false},{"Name":"js Map","Code":"jsMap()","IsDeferred":false},{"Name":"lodash Array Map","Code":"lodashArrayMap()","IsDeferred":false}]}