• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu
+ 2

Why it logs [object Set]

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

javascript
29th Oct 2022, 10:11 PM
Varin
Varin - avatar
3 Risposte
+ 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

Hai spesso domande come questa?

Impara in modo più efficiente, gratuitamente:

  • Introduzione a Python

    7,1M studenti

  • Introduzione a Java

    4,7M studenti

  • Introduzione a C

    1,5M studenti

  • Introduzione a HTML

    7,5M studenti

Vedi tutti i corsi
Popolare oggi
Python stressed me out
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
2 Votes
Data analysis
0 Votes
What is a simple and easy way to learn ruby? :)
0 Votes
Saved code
0 Votes
Help
0 Votes
How do i make a lexer and parser
1 Votes