let items = []
const obj = {
login: inputLogin.value,
password: inputPassword.value,
email: inputEmail.value,
}
items.push({
login: inputLogin.value,
password: inputPassword.value,
email: inputEmail.value,
});
forEach, map, reduce, every, filter и т.д.
for, for..of, for..in