{"ScriptPreparationCode":null,"TestCases":[{"Name":"splice","Code":"var t = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027d\u0027];\r\nvar last = t.splice(-1)\r\n\r\nvar result = t.map(el =\u003E \u0060\u003Cspan\u003E{$el}\u003C/span\u003E\u0060)\r\nvar str = result.join(\u0027\u0027) \u002B last","IsDeferred":false},{"Name":"if","Code":"var t = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027d\u0027];\r\n\r\nvar result = t.map((el, index, list) =\u003E index \u003C list.length - 1 ? \u0060\u003Cspan\u003E${el}\u003C/span\u003E\u0060 : el)\r\nvar str = result.join(\u0027\u0027)","IsDeferred":false},{"Name":"pop","Code":"var t = [\u0027a\u0027, \u0027b\u0027, \u0027c\u0027, \u0027d\u0027];\r\nvar last = t.pop()\r\n\r\nvar result = t.map(el =\u003E \u0060\u003Cspan\u003E{$el}\u003C/span\u003E\u0060)\r\nvar str = result.join(\u0027\u0027) \u002B last","IsDeferred":false}]}