Bell Interview Question

Why use JavaScript to filter data?