Unable to reset element to a vlaue of 0 : <p>I have the following function here that I am using to reset the value attribute of some buttons to 0:</p>

<pre><code>function resetAll() {   
  var getAllButttons = document.getElementsByClassName("click-button");
   for (i = 0; i &lt; getAllButtons.length; i++) { 
   getAllButtons[i].value == 0;
   }
}
</code></pre>

<p>The function is not doing what I want it to and i'm a bit stuck as to where i've gone wrong.. </p>
