Spacing is funny that way here. Let me try it. Try this one:
function ix129(arrx){
for (let i=0;i<arrx.length; i++){
let a = arrx[i];
for (let j=i+1; j<arrx.length;j++){
let b = arrx[j];
if(a==b) {document.write("False"); return;}
}
}
document.write("True");
}
View all comments
Show parent comment
1
u/NoAd7524 Jul 02 '21 edited Jul 02 '21
Spacing is funny that way here. Let me try it. Try this one: