title: SyntaxError: Invalid shorthand property initializer
body: <p>I'm doing a project to learn <a href="/questions/tagged/node.js" class="post-tag" title="show questions tagged &#39;node.js&#39;" rel="tag">node.js</a><a href="/questions/tagged/express" class="post-tag" title="show questions tagged &#39;express&#39;" rel="tag">express</a><a href="/questions/tagged/mongodb" class="post-tag" title="show questions tagged &#39;mongodb&#39;" rel="tag">mongodb</a>.It's about a shopping cart web application.but I ran into an error while testing a module. I'm not sure what the error means. Here's my code:</p>
  
  <pre><code>    var Product = require('../models/product');
  
      var mongoose = require('mongoose'); 
   mongoose.connect('mongodb://user:md12345@ds255253.mlab.com:55253/shopping_cartwetroop');
  
  var Product = new Product({
      imagePath="http://bitzeen.com/api/job_uploads/201811/1541261716.jpg",
      description="tortor id aliquet lectus proin nibh nisl condimentum id"
  });
  
  var done = 0;
  for (var i=0;i&lt;products.length;i++){
      products[i].save(function(err, result){
          done++;
          if(done==products.length){
              exit();
          }
      }
  
      );
  }
  
  function exit(){
      mongoose.disconnect();
  };
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/S4qaq.jpg" rel="nofollow noreferrer">Error</a></p>
  
  <p>Here is the error after running "node product_seeder.js"
  How can I fix this?</p>