+ 5
What is the output of these?
let arr1=[1,2,3,4]; let ['1','2']=arr1; let arr2=[1,2,]; let ['5','4','3']=arr2; console. log('2'); console. log ('3');
2 Antworten
+ 9
Head to the code playground (web -> JS) in order to run your code and see what it outputs. If you want explanation about the working of your code, feel free to ask.
+ 1
Karthick
You should try submitting it as a quiz, not posting it on the FAQ section