javascript object extensibility restriction on methods only?
<p>Is it possible to restrict the extensibility for methods only?</p>

<p>As preventExtension() prevents addition of property as well as methods( because methods are also property).</p>

<p>What is the solution to prevent further addition of methods only ( and allow addition of non method property)?</p>

<pre><code>Object.preventExtensions(obj);
</code></pre>
