arrayEqual = (arr1,arr2)-> i = arr1.length myBool while(i--) if arr1[i] == arr2[i] myBool = true else i = 0 myBool = false return myBool