diff --git a/lib/ber/writer.js b/lib/ber/writer.js index c530830..67b959b 100644 --- a/lib/ber/writer.js +++ b/lib/ber/writer.js @@ -160,7 +160,7 @@ Writer.prototype.writeBuffer = function(buf, tag) { Writer.prototype.writeStringArray = function(strings) { - if ((!strings instanceof Array)) + if (!(strings instanceof Array)) throw new TypeError('argument must be an Array[String]'); var self = this;