[refactor] Moved 'printArray' to 'arrayToString' TS file

This commit is contained in:
Steven Evans
2018-07-05 14:12:20 -04:00
parent d20516b03c
commit 1a5208f78f
8 changed files with 25 additions and 24 deletions
-5
View File
@@ -110,10 +110,6 @@ function compareArrays(a1, a2) {
return true;
}
function printArray(a) {
return "[" + a.join(", ") + "]";
}
//Returns bool indicating whether or not its a power of 2
function powerOfTwo(n) {
if (isNaN(n)) {return false;}
@@ -124,7 +120,6 @@ export {sizeOfObject,
clearObject,
clearEventListeners,
compareArrays,
printArray,
powerOfTwo,
clearEventListenersEl,
removeElement,