title: Single-Line to Multi-Line ES6 Fat Arrow Function?
body: <p>I'm learning ES6 fat arrow functions. What is the correct way to change this code, so as to be able to put another line, even <code>const a = 100;</code> in the place indicated so that I can add some more lines to this function?</p>
  
  <pre><code>IMAdded: (options, args) =&gt; ({
      IMAdded: {
          filter: newIM =&gt; true, *need to add another line here*
      },
  }),
  </code></pre>
  
  <p>Update:</p>
  
  <p>Here's ES6 code that runs:</p>
  
  <pre><code>const subscriptionManager = new SubscriptionManager({
      schema,
      pubsub,
      setupFunctions: {
          APPTAdded: (options, args) =&gt; ({
              APPTAdded: {
                  filter: appointment =&gt; (true),
              },
          }),
  });
  </code></pre>
  
  <p>I'd like to add some more lines into the code that returns <code>true</code>.</p>