Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
+ 2

Why it logs [object Set]

https://code.sololearn.com/W98wlhL1RCke/?ref=app

javascript
29th Oct 2022, 10:11 PM
Varin
Varin - avatar
3 Answers
+ 4
or console.log(...al)
29th Oct 2022, 10:45 PM
Bob_Li
Bob_Li - avatar
+ 5
al.forEach((value) => { console.log(value); }); https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
29th Oct 2022, 10:23 PM
SoloProg
SoloProg - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I'm about to make a complex calculator in python
1 Votes
why is python community is too small in sololearn?
1 Votes
Audio adding
1 Votes
The best python learning app ????
2 Votes
C#
0 Votes
Stuck in Quize
1 Votes
What is problem in this code
0 Votes
C Program
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
Software developer
0 Votes