0

please help

Arrays What is the output of this code? let nums = [1, 2, 3]; let x = 1; for(let i=0; i<3; i++) { x *= nums[i]; } console.log(x);

7th Oct 2022, 6:07 PM
mesuli mkhize
mesuli mkhize - avatar
4 Answers
+ 2
Open new code of "web". Write or copy paste your this code in js section. Run the code and see output in js console. You can save code also for further use.
7th Oct 2022, 6:15 PM
Jayakrishna 🇼🇳
+ 2
thank you bro thanks
7th Oct 2022, 6:35 PM
mesuli mkhize
mesuli mkhize - avatar
+ 1
What help you need? Did you tried that way? What you find?
7th Oct 2022, 6:27 PM
Jayakrishna 🇼🇳
- 2
please help anyyone
7th Oct 2022, 6:22 PM
mesuli mkhize
mesuli mkhize - avatar