diff --git a/core/random.js b/core/random.js index 44948ac0..2080cd32 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); } }