Let x=[1,2,3]; x[3]=x[0]+x[2]; console.log(x[3]/x[1]); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Let x=[1,2,3]; x[3]=x[0]+x[2]; console.log(x[3]/x[1]);

What is the answer,please help me out.

12th Sep 2022, 12:59 PM
Samuel Chukwu
Samuel Chukwu - avatar
2 Answers
+ 8
Ifesico Chukwu , have you done a try with your code?
12th Sep 2022, 1:07 PM
Lothar
Lothar - avatar
+ 3
And please put Javascript or Node.js in post tags for context clarity. Because 'help me out' didn't clarify any context, unfortunately ... https://code.sololearn.com/W3uiji9X28C1/?ref=app
12th Sep 2022, 2:35 PM
Ipang