I want to check if array contains object or not. I am not trying to compare values just want to check in my array if object is present or not?
Ex.
$arr =
var hasObject = function(arr) { for (var i=0; i