JSFiddle - React, Tailwind, and code Playground

by naryad

HTML

<script src="http://documentcloud.github.com/underscore/underscore.js"></script>

JavaScript

function Foo() {
    _.bindAll(this);
}

Foo.prototype.f1 = function () { this.f2(); };
Foo.prototype.f2 = function () { console.log("f2"); };

var foo = new Foo();
var f = foo.f1;
f();