{"ScriptPreparationCode":null,"TestCases":[{"Name":"Push","Code":"const a = [];\r\nconst condA = true;\r\nconst condB = false;\r\nconst condC = true;\r\n\r\nif (condA) a.push(\u0022elem1\u0022);\r\nif (condB) a.push(\u0022elem2\u0022);\r\nif (condC) a.push(\u0022elem3\u0022);","IsDeferred":false},{"Name":"Spread","Code":"const condA = true;\r\nconst condB = false;\r\nconst condC = true;\r\nconst a = [\r\n ...(condA ? [\u0027elem1\u0027] : []),\r\n ...(condB ? [\u0027elem2\u0027] : []),\r\n ...(condC ? [\u0027elem3\u0027] : [])\r\n];","IsDeferred":false}]}