JavaScript equivalent of PHP’s in_array() Is there a way in JavaScript to compare values from one array and see if it is in another array? Similar to PHP’s in_array function? 20 Answers 20 May 21, 2022 0 Comments