Pronnel interview question

in javascript difference between map and filter..