From 064b3caf0831f72fb6e0c09030d533a0843d942c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 10 Nov 2013 19:32:53 -0800 Subject: [PATCH] Fix test in newer opera. --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 541e1fcc3..b5e115ea4 100644 --- a/test/test.js +++ b/test/test.js @@ -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); }