{"ScriptPreparationCode":"var arr = [];\r\nvar i = 0;\r\n\r\nwhile (i \u003C= 1E5) arr[i] = i\u002B\u002B;","TestCases":[{"Name":"flatMap","Code":"components = [\r\n {__typename: \u0027ComponentDomainPagesCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027ComponentDomainArticlesCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027ComponentDomainEventsCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027DontListThisOne\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027Also this\u0027, test: \u0027test\u0027},\r\n]\r\n\r\ncomponents.flatMap(c =\u003E {\r\n return c?.__typename === \u0027ComponentDomainPagesCollectionGrid\u0027 ||\r\n c?.__typename === \u0027ComponentDomainArticlesCollectionGrid\u0027 ||\r\n c?.__typename === \u0027ComponentDomainEventsCollectionGrid\u0027\r\n ? [c]\r\n : []\r\n })","IsDeferred":false},{"Name":"filter","Code":"components = [\r\n {__typename: \u0027ComponentDomainPagesCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027ComponentDomainArticlesCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027ComponentDomainEventsCollectionGrid\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027DontListThisOne\u0027, test: \u0027test\u0027},\r\n {__typename: \u0027Also this\u0027, test: \u0027test\u0027},\r\n]\r\n\r\ncomponents.filter(c =\u003E {\r\n return c?.__typename === \u0027ComponentDomainPagesCollectionGrid\u0027 ||\r\n c?.__typename === \u0027ComponentDomainArticlesCollectionGrid\u0027 ||\r\n c?.__typename === \u0027ComponentDomainEventsCollectionGrid\u0027\r\n })","IsDeferred":false}]}