var col1 = ["текст"]
var col2 = ["текст"]
var col3 = ["текст"]
var col4 = ["текст"]
let inputTag2 = document.getElementById("mytext");
let col5 = "";
inputTag2.addEventListener("change", (e) => {
col5 = e.target.value
})
<input id="mytext" type="text">