I am trying to solve my problem with if-else in Javascript. I would highly appreciate your help.
I wanted to filter the name via gender, also safe the keys -