Understanding dojo hitch
<p>I am struggling to understand hitch function of the dojo toolkit. I am looking at this example at <a href="https://dojotoolkit.org/reference-guide/1.10/dojo/_base/lang.html" rel="nofollow">https://dojotoolkit.org/reference-guide/1.10/dojo/_base/lang.html</a>, which is the following:</p>

<pre><code>require(["dojo/_base/lang"], function(lang){
var myObj = {
    foo: "bar",
    method: function(someArg){
      console.log(this.foo);
    }
  };

  var func = lang.hitch(myObj, "method");

  func();
});
</code></pre>

<p>Is it not possible to utilize that function by myObj.method(arg) instead? Thank you</p>