Filter returns an empty array when trying to check the length of numbers – Javascript
I should create a function that given an array of numbers and a specific value, returns another array filled with those numbers in which the number of digits matches the specified value. function filtrarPorQuantidadeDeDigitos (array, nDigitos) { let solucao =…