const trigger = document.querySelectorAll(triggerSelector)
let max = arr[0]
arr.slice(1).forEach(function(elem) {if(Object.values(max)[0]<Object.values(elem)[0]) {max = elem}});
let table = document.getElementById('contentTable');
let trs= table.querySelectorAll('tr');
let tds = trs[1].querySelectorAll('td');
tds[2].style.color = 'red';
if(tariffPriceDataElement.title === 'Тариф1')
let video = [
{video1: '....'},
{video2: '....'},
{video3: '....'},
{video4: '....'},
{video5: '....'},
{video6: '....'}
];
console.log(video.slice(0,4));