diff --git a/lib/ber/writer.js b/lib/ber/writer.js index 3515acf..0e9cae4 100644 --- a/lib/ber/writer.js +++ b/lib/ber/writer.js @@ -161,7 +161,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;