Open Noorb7188 opened 5 years ago
const handlerSearch = (request, response, url) => { console.log(language); const result = language.filter(el => el[0] === "A"); console.log(result); }
I would git rid of the unnecessary console.log(language) in the function, It's a long list that I woul'd not rather see every time the function is called
const handlerSearch = (request, response, url) => { console.log(language); const result = language.filter(el => el[0] === "A"); console.log(result); }
I would git rid of the unnecessary console.log(language) in the function, It's a long list that I woul'd not rather see every time the function is called