title: Is there a way to set multiple object properties to one value in JavaScript?
body: <p>I know that you can do <code>let a = b = c = d = 10;</code></p>
  
  <p>but when I have values in object like so <code>let key = {w : false, a : false, s : false, d : false};</code></p>
  
  <p>can I somehow set all values to false at once? I couldnt find answer. I tried something like</p>
  
  <p><code>let key = {w,a,s,d =&gt; false};
  let key = {w : a : s : d : false};
  let key = {w,a,s,d : false};</code></p>
  
  <p>Is it possible to do something like this in js?</p>