{"ScriptPreparationCode":null,"TestCases":[{"Name":"Array from Set","Code":"const foo = [{\r\n name: \u0027Alice\u0027,\r\n age: 25,\r\n contact: {\r\n email: \u0027alice@example.com\u0027,\r\n phone: \u0027123-456-7890\u0027,\r\n },\r\n preferences: {\r\n language: \u0027English\u0027,\r\n timezone: \u0027UTC\u0027,\r\n },\r\n}, {\r\n name: \u0027Peter\u0027,\r\n age: 25,\r\n contact: {\r\n email: \u0027peter@example.com\u0027,\r\n phone: \u0027123-456-7890\u0027,\r\n },\r\n preferences: {\r\n language: \u0027English\u0027,\r\n timezone: \u0027UTC\u0027,\r\n },\r\n}];\r\n\r\n\r\nArray.from(new Set(foo.map(p =\u003E name)))\r\n","IsDeferred":false},{"Name":"Array from spread","Code":"const foo = [{\r\n name: \u0027Alice\u0027,\r\n age: 25,\r\n contact: {\r\n email: \u0027alice@example.com\u0027,\r\n phone: \u0027123-456-7890\u0027,\r\n },\r\n preferences: {\r\n language: \u0027English\u0027,\r\n timezone: \u0027UTC\u0027,\r\n },\r\n}, {\r\n name: \u0027Peter\u0027,\r\n age: 25,\r\n contact: {\r\n email: \u0027peter@example.com\u0027,\r\n phone: \u0027123-456-7890\u0027,\r\n },\r\n preferences: {\r\n language: \u0027English\u0027,\r\n timezone: \u0027UTC\u0027,\r\n },\r\n}];\r\n\r\n\r\n\r\n[...new Set(foo.map(p =\u003E name))]\r\n\r\n","IsDeferred":false}]}