Equal numbers are not equal - javascript
<p>I am facing a strange problem. I have two Numbers (both 1) and they are not equal.</p>

<pre><code>&gt; step.id
&gt; Number {[[PrimitiveValue]]: 1}
&gt; 
&gt; $scope.process.currentStep
&gt; Number {[[PrimitiveValue]]: 1}
&gt; 
&gt; step.id === $scope.process.currentStep
&gt; false
</code></pre>