diff --git a/lib/server/binom.js b/lib/server/binom.js index 5e10ddf0..88145d21 100644 --- a/lib/server/binom.js +++ b/lib/server/binom.js @@ -7,10 +7,10 @@ var ret; if (!Array.isArray(array)) - throw(Error('array should be array!')); + throw Error('array should be array!'); if (typeof name !== 'string') - throw(Error('name should be string!')); + throw Error('name should be string!'); array.some(function(item) { var is = item.name === name,