{"ScriptPreparationCode":null,"TestCases":[{"Name":"Native","Code":"const OBJECTIVES = {\r\n \u0022BRAND_AWARENESS\u0022: {\r\n title: \u0027Brand awareness\u0027,\r\n description: \u0027Show your ads to people who are most likely to remember them.\u0027,\r\n },\r\n \u0022REACH\u0022: {\r\n title: \u0027Reach\u0027,\r\n description: \u0027Show your ads to the maximum number of people.\u0027,\r\n },\r\n \u0022POST_ENGAGEMENT\u0022: {\r\n title: \u0027Engagement\u0027,\r\n description: \u0027Get more Page likes, event responses, or post reacts, comments or shares.\u0027,\r\n },\r\n \u0022LEAD_GENERATION\u0022: {\r\n title: \u0027Lead Generation\u0027,\r\n description: \u0027Collect leads for your business or brand.\u0027,\r\n },\r\n};\r\nconst OBJECTIVES_MAP = Object.entries(OBJECTIVES).map(([id, obj]) =\u003E ({ id, ...obj }));","IsDeferred":false},{"Name":"Lodash Map","Code":"const OBJECTIVES = {\r\n \u0022BRAND_AWARENESS\u0022: {\r\n title: \u0027Brand awareness\u0027,\r\n description: \u0027Show your ads to people who are most likely to remember them.\u0027,\r\n },\r\n \u0022REACH\u0022: {\r\n title: \u0027Reach\u0027,\r\n description: \u0027Show your ads to the maximum number of people.\u0027,\r\n },\r\n \u0022POST_ENGAGEMENT\u0022: {\r\n title: \u0027Engagement\u0027,\r\n description: \u0027Get more Page likes, event responses, or post reacts, comments or shares.\u0027,\r\n },\r\n \u0022LEAD_GENERATION\u0022: {\r\n title: \u0027Lead Generation\u0027,\r\n description: \u0027Collect leads for your business or brand.\u0027,\r\n },\r\n};\r\nconst OBJECTIVES_MAP = _.map(OBJECTIVES, (value, id) =\u003E ({id, ...value}))","IsDeferred":false}]}