more comments
This commit is contained in:
1 parent
208cb05c74
commit
e8bb9e264d
1 file changed
+6
-4
@@ -139,7 +139,7 @@ class SetOps {
|
|||||||
* Get elements of each set that aren't in the other set.
|
* Get elements of each set that aren't in the other set.
|
||||||
* @param {Object[]} a
|
* @param {Object[]} a
|
||||||
* @param {Object[]} b
|
* @param {Object[]} b
|
||||||
* @return {Object}
|
* @return {Object[]}
|
||||||
*/
|
*/
|
||||||
runSymmetricDifference(a, b) {
|
runSymmetricDifference(a, b) {
|
||||||
return this.runSetDifference(a,b)
|
return this.runSetDifference(a,b)
|
||||||
@@ -148,8 +148,9 @@ class SetOps {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} a
|
* @param {Object[]} a
|
||||||
* @param {*} b
|
* @param {Object[]} b
|
||||||
|
* @returns {String[]}
|
||||||
*/
|
*/
|
||||||
runCartesianProduct(a, b) {
|
runCartesianProduct(a, b) {
|
||||||
return Array(Math.max(a.length, b.length))
|
return Array(Math.max(a.length, b.length))
|
||||||
@@ -159,7 +160,8 @@ class SetOps {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {*} a
|
* @param {Object[]} a
|
||||||
|
* @returns {Object[]}
|
||||||
*/
|
*/
|
||||||
runPowerSet(delimiter) {
|
runPowerSet(delimiter) {
|
||||||
return function(a) {
|
return function(a) {
|
||||||
|
|||||||
Reference in new issue
Block a user