From e8bb9e264d71811da0258a1893df7d5f72f26127 Mon Sep 17 00:00:00 2001 From: d98762625 Date: Sun, 25 Mar 2018 17:10:55 +0100 Subject: [PATCH] more comments --- src/core/operations/SetOperations.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/core/operations/SetOperations.js b/src/core/operations/SetOperations.js index f213d975..be97e30d 100644 --- a/src/core/operations/SetOperations.js +++ b/src/core/operations/SetOperations.js @@ -139,7 +139,7 @@ class SetOps { * Get elements of each set that aren't in the other set. * @param {Object[]} a * @param {Object[]} b - * @return {Object} + * @return {Object[]} */ runSymmetricDifference(a, b) { return this.runSetDifference(a,b) @@ -148,8 +148,9 @@ class SetOps { /** * - * @param {*} a - * @param {*} b + * @param {Object[]} a + * @param {Object[]} b + * @returns {String[]} */ runCartesianProduct(a, b) { return Array(Math.max(a.length, b.length)) @@ -159,7 +160,8 @@ class SetOps { /** * - * @param {*} a + * @param {Object[]} a + * @returns {Object[]} */ runPowerSet(delimiter) { return function(a) {