i am trying to figure out the difference between != and !== in java script , is both ways are used to check the not equal to conditions? i am confused trying to get the difference . please any one give me solution?
example
----------
<div ng-if="user!= user">
show data
</div>
(or)
<div ng-if="user!== user">
show data
</div>
<script>
$scope.user = 'user';
<script>
i am clear with == and === , The == operator will compare for equality after doing any necessary type conversions. The === operator will not do the conversion, so if two values are not the same type === will simply return false. but i am not clear with above