'use strict';
const acordeonItemsParams = {
bodyHeight: [],
isOpened: []
}
const acordeonItems = document.querySelectorAll('.acordeon__items .acordeon__item');
for (let i = 0; i < acordeonItems.length; i++) {
acordeonItemsParams
.bodyHeight
.push(
acordeonItems[i]
.querySelector('.acordeon__item-body')
// .style
.offsetHeight
);
}
console.log(acordeonItemsParams.bodyHeight);