New course! Every coder should learn Generative AI!
Try a free lesson+ 1
why?
What is the output of this code? var arr = [4,3,2,5]; for(var i=1;i<3;i++) { arr[i]=arr[i-1] + arr[i+1]; } alert(arr); answer 46115
0 Answers
What is the output of this code? var arr = [4,3,2,5]; for(var i=1;i<3;i++) { arr[i]=arr[i-1] + arr[i+1]; } alert(arr); answer 46115