title: The difference between object and plain object in JavaScript?
body: <p>Couldn’t understand the difference between object and plain object in JavaScript.</p>
  <p>I know how Object looks like but don’t understand  plain object. I googled about this but couldn’t understand.</p>
  <p>As per my understanding normal object looks like below</p>
  <pre class="lang-js prettyprint-override"><code>const object = {};
  </code></pre>
  <p>Or we do call functions as objects in JavaScript</p>
  <pre class="lang-js prettyprint-override"><code>function test() {
  
  }
  </code></pre>
  <p>But what is plain object? how it differs with normal object. Thank you</p>
  <p>Edit:</p>
  <p>My confusion started about plain object after looking at  below error. So my query is to understand the concept of plain object in JavaScript</p>
  <p><strong>Actions must be plain objects. Use custom middleware for async actions.</strong></p>