title: Difference between includes and hasOwnProperty in array search in JS
body: <p>What is the difference between <code>includes</code> and <code>hasOwnProperty</code> for searching an element in an <code>Array</code> in JS in terms of time and space complexity?</p>
  
  <p>Both can be used to find whether an element exists in an <code>Array</code> or not.</p>