+ 1

Element checking

Hello I want to check if an element exist in an array in JavaScript How do I do it

19th Jan 2021, 9:50 AM
Osei Michael
Osei Michael - avatar
1 Respuesta
+ 1
array.includes(element)
19th Jan 2021, 9:58 AM
Abhay
Abhay - avatar