What's the proper way of using property descriptors in Object.create?
<p>I passed an object as the second parameter in the <code>Object.create</code> method, but I'm getting the following error:</p>

<blockquote>
  <p>Uncaught TypeError: Property description must be an object: 1</p>
</blockquote>

<p>Here's the faulty code:</p>

<pre><code>var test = Object.create(null, {
    ex1: 1,
    ex2: 2,
    meth: function () {
        return 10;
    },
    meth1: function () {
        return this.meth();
    }
});
</code></pre>