Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,9 +1,9 @@
import addSetEntry from './addSetEntry.js';
import arrayReduce from './arrayReduce.js';
import setToArray from './setToArray.js';
import addSetEntry from './addSetEntry.js'
import arrayReduce from './arrayReduce.js'
import setToArray from './setToArray.js'
/** Used to compose bitmasks for cloning. */
const CLONE_DEEP_FLAG = 1;
const CLONE_DEEP_FLAG = 1
/**
* Creates a clone of `set`.
@@ -15,8 +15,8 @@ const CLONE_DEEP_FLAG = 1;
* @returns {Object} Returns the cloned set.
*/
function cloneSet(set, isDeep, cloneFunc) {
const array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set);
return arrayReduce(array, addSetEntry, new set.constructor);
const array = isDeep ? cloneFunc(setToArray(set), CLONE_DEEP_FLAG) : setToArray(set)
return arrayReduce(array, addSetEntry, new set.constructor)
}
export default cloneSet;
export default cloneSet