Bell interview question

Why use JavaScript to filter data?