how to identify element exist or not inside an array in javascript.

Published --