function.prototype.bind not working in FF on Windows only
<p>I can't find this question being asked anywhere, so I figured I'd ask here.  I have the following code, which as far as I know, is totally valid JavaScript.  It works just fine in FF on Linux, but FF on Windows says that function.prototype.bind is not a function.</p>

<p>doesn't work</p>

<pre><code>    this.form
        .submit(function(e) {function(e) {
            e.preventDefault();
            this._videoForm_onSubmit(e);
        }.bind(this));
</code></pre>

<p>does work</p>

<pre><code>    var _onFormSubmit = function(e) {
            e.preventDefault();
            this._videoForm_onSubmit(e);
    };
    this.form
        .submit(function(e) {
            _onFormSubmit.call(this, e);
        });
</code></pre>

<p>What gives?</p>

<p>** Edit/Answer **</p>

<p>So, I've probably just been doing too much server-side JS, since Function.prototype.bind appears to have been introduced in 1.8.5 [1]</p>

<p>Instead of the code that I was using before, I just sent the current context object as an argument to a self-executing anonymous function, as shown below.</p>

<pre><code>    (function(myObject) {
        myObject.form
            .submit(function(e) {
                e.preventDefault();
                myObject._videoForm_onSubmit(e);
            });
    })(this);
</code></pre>

<p>[1] <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind" rel="nofollow">https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function/bind</a></p>
