diff --git a/core/random.js b/core/random.js index c91cb325..a32eaa3a 100644 --- a/core/random.js +++ b/core/random.js @@ -221,7 +221,7 @@ sjcl.random = { */ for (j in cbs) { - if (cbs.hasOwnProperty[j] && cbs[j] === cb) { + if (cbs.hasOwnProperty(j) && cbs[j] === cb) { jsTemp.push(j); } }