Fix test in newer opera.

This commit is contained in:
John-David Dalton
2013-11-10 19:32:53 -08:00
parent c83d2e9513
commit 064b3caf08

View File

@@ -1233,7 +1233,7 @@
function a() {}
var bound = a.bind && a.bind({});
if (bound && !bound.prototype) {
if (bound && !('prototype' in bound)) {
var bound = a.bind({});
strictEqual(_.createCallback(bound, {}), bound);
}