{"ScriptPreparationCode":"var arrayWithDuplicates = [\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027SideUpper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027,\u0027Upper\u0027, \u0027Upper\u0027, \u0027Upper\u0027];","TestCases":[{"Name":"set","Code":"const position = new Set(arrayWithDuplicates)\r\nif (position.size === 1 \u0026\u0026 position.has(\u0027Upper\u0027)) {\r\n console.log(\u0027\u0422\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 Upper\u0027)\r\n} else {\r\n console.log(\u0027\u041D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0027)\r\n}","IsDeferred":false},{"Name":"every","Code":"const position = \u0027Upper\u0027;\r\nconst isOnePosition = arrayWithDuplicates.every(pos =\u003E pos === position);\r\nif (isOnePosition) {\r\n console.log(\u0027\u0422\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 Upper\u0027)\r\n} else {\r\n console.log(\u0027\u041D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0027)\r\n}","IsDeferred":false}]}