title: Can I have a JavaScript object key without a value
body: <p>I am wanting to store TaskPaper-like tasks in a JavaScript object. Suppose I have a task like</p>
  
  <pre><code>- Post to StackOverflow @priority(2) @due(2016-05-03) @flagged
  </code></pre>
  
  <p>This would turn into</p>
  
  <pre><code>{"name":"Post to StackOverflow", "priority": 2, "due":"2016-05-03", "flagged":"value"}
  </code></pre>
  
  <p>Flagged doesn't need a value and all I can think of is to use <code>true</code> or <code>null</code></p>
  
  <p>I would like to later filter tasks using <code>if key in object</code> and having true/false values wouldn't work with my workflow.</p>
  
  <p>What would the SO community recommend as best practices.</p>