diff --git a/core/random.js b/core/random.js index c91cb32..a32eaa3 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); } }