JavaScript
5
Вклад в тег
const currentObj = currentPassengers.find(item => item.PassengersId === passengerIdEdit)
currentObj.Name = dataName;
currentObj.Surname: dataSurname;
document.querySelector(".box").addEventListener("click", function(e) {
e.target.classList.toggle("red");
})