In the following code, which means the three dots that precede document.querySelectorAll
const [marcas, valor] = [...document.querySelectorAll('input.classNew')];
marcas.addEventListener('keyup', function() {
//codigo
}
I did a lot of site and Google searches without success.
Note: I know that removing one or more specs gives an error in the script