title: What is the flaw in my thinking in this javascript boolean function?
body: <p>So I am suppose to create a function that reverses a values boolean parameter. [Here][1] is what I came up with:</p>
  
  <p><img src="https://i.stack.imgur.com/yJ9ib.png" alt=""></p>
  
  <p>I really just want to understand what is my flaw in thinking. How can I fix my approach?</p>