what does =! means in javascript : <p>I came across this line while reading source code of an application. </p>

<pre><code>$scope.editMode = ! $scope.editMode;
</code></pre>

<p>I wonder what does this is not the not the not equal to operator. I tried it in this <a href="http://jsfiddle.net/Lvc0u55v/11377/" rel="nofollow">jsfiddle</a> the answer is correct but I still do not understand the logic is this somehow an equal to operator? </p>

<p>jsfiddlecode</p>

<pre><code>  $scope.name = 'Superhero';
        $scope.hero = '123'    
        $scope.name = ! $scope.hero
</code></pre>
