Function (callable) objects with inherited properties
<p>Is there any way to create a function/callable object that inherits properties from another object? This is possible with <code>__proto__</code> but that property is deprecated/non-standard. Is there a standards compliant way to do this?</p>

<pre><code>/* A constructor for the object that will host the inheritable properties */
var CallablePrototype = function () {};
CallablePrototype.prototype = Function.prototype;

var callablePrototype = new CallablePrototype;

callablePrototype.hello = function () {
   console.log("hello world");
};

/* Our callable "object" */
var callableObject = function () {
   console.log("object called");
};

callableObject.__proto__ = callablePrototype;

callableObject(); // "object called"
callableObject.hello(); // "hello world"
callableObject.hasOwnProperty("hello") // false
</code></pre>
