function areArraysSame (argument1, argument2) {
if(argument1.length !== argument2.length) return false;
for (var i = 0; i < argument1.length; i++) {
if (argument1[i] === argument2[i]) {
continue;
} else {
return false;
}
}
return true;
};
// test
console.log(areArraysSame([1,2,3], [1,2,3]));
console.log(areArraysSame([1,2,3], [1,2,'3']));
console.log(areArraysSame([1,2,3], [1,2,3, 4]));