michael@0: michael@0: load(libdir + "asserts.js"); michael@0: michael@0: function C(a, b) {} michael@0: var f = C.bind(null, 2); michael@0: var that = this; michael@0: assertThrowsInstanceOf(function () { g = clone(f, that)}, TypeError);