NodeJs : how to use array_filter as of php : I am facing small issue on array_filter. I have successfully used it on PHP but now i want to change this on nodejs. 
Any help will be thankful for me.

#MyPHPScript

 

    $targets = [1.2, 2.3, 3.5];
    $live_coin_price = 1.3;

    $targets_hit = array_filter($targets, function($target_value) use($live_coin_price){
                if($live_coin_price >= $target_value)
                return $target_value ;
            });
It will check if $target_filter > 0 or not .
This is workable code on PHP.

Now I want to change this with nodejs . How can i do it?