diff --git a/js/common/modules/org/arangodb/general-graph.js b/js/common/modules/org/arangodb/general-graph.js index 9e88c4a5d1..2dc10f4b44 100644 --- a/js/common/modules/org/arangodb/general-graph.js +++ b/js/common/modules/org/arangodb/general-graph.js @@ -192,7 +192,7 @@ AQLGenerator.prototype.filter = function(example) { var ex = []; if (Object.prototype.toString.call(example) !== "[object Array]") { if (Object.prototype.toString.call(example) !== "[object Object]") { - throw "The example has to be an Object, or an Array" + throw "The example has to be an Object, or an Array"; } ex = [example]; } else {