title: Adding + to the dictionary in javascript
body: <p>I want to create a dictionary in javascript like this</p>
  
  <pre><code>var operations=
  {  
    first:     function(x) 
               {
                  return x[0];
               }
  }
  </code></pre>
  
  <p>How can I add the + operation as key to the dictionary that will point to the + operation in javascript? The same thing was done in python by operator.add . How can do it in Javascript?</p>
  
  <pre><code>var operations=
  {  
       +    :     return + operation in javascript //syntax is not valid
  
       first:     function(x) 
                   {
                      return x[0];
                   }
  }  
  </code></pre>
  
  <p>.</p>