@@ -522,6 +522,9 @@ WOQL.evaluate = function (arithExp, resultVarName) {
522522 * @example
523523 * let [result] = vars("result")
524524 * eval(plus(2, minus(3, 1)), result)
525+ * @deprecated Use {@link evaluate} instead. The name 'eval' conflicts with JavaScript's
526+ * built-in eval in strict mode.
527+ * @internal
525528 */
526529WOQL . eval = function ( arithExp , resultVarName ) {
527530 return new WOQLQuery ( ) . eval ( arithExp , resultVarName ) ;
@@ -1350,7 +1353,7 @@ WOQL.iri = function (val) {
13501353/**
13511354 * Generates javascript variables for use as WOQL variables within a query
13521355 * @param {...string } varNames
1353- * @returns {array <Var> } an array of javascript variables which can be dereferenced using the
1356+ * @returns {Array <Var> } an array of javascript variables which can be dereferenced using the
13541357 * array destructuring operation
13551358 * @example
13561359 * const [a, b, c] = WOQL.vars("a", "b", "c")
@@ -1364,7 +1367,7 @@ WOQL.vars = function (...varNames) {
13641367/**
13651368 * Generates unique javascript variables for use as WOQL variables within a query
13661369 * @param {...string } varNames
1367- * @returns {array <Var> } an array of javascript variables which can be dereferenced using the
1370+ * @returns {Array <Var> } an array of javascript variables which can be dereferenced using the
13681371 * array destructuring operation
13691372 * @example
13701373 * const [a, b, c] = WOQL.vars("a", "b", "c")
0 commit comments