I have a table consisting of datas where some are null.I want to use search filter but tolowercase error occurs beacuse of null | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

I have a table consisting of datas where some are null.I want to use search filter but tolowercase error occurs beacuse of null

Null values causes to lowercase() to not work

19th Sep 2019, 9:11 AM
Yasik Raam
Yasik Raam - avatar
1 ответ
0
Show your code. // Example to filter // ['jhona','Jgosadsn',null,'21jods',undefined, NaN, false,'mart'].filter(e=>e); // Out code: ["jhona", "Jgosadsn", "21jods", "mart"]
30th Sep 2019, 6:23 PM
Jônatas Araripe
Jônatas Araripe - avatar