0
How to declare a variable and assign it with an Array
3 ответов
+ 2
let arr;
arr =[1, 2, 3]
+ 3
p o e t i c e n t h u s i a s t i c
Have a look to my code carefully
You will get it.
However 🇮🇳Vivek🇮🇳 has answered absolutely right but it's the another way you can do it .
So watch it and understand what I did.
I hope it will help you.
Thank you.
https://code.sololearn.com/WT8PHQLqr3N3/?ref=app
+ 2
let arr = [];