• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Help! I cant get this to print outcome.

Var x= [1,2,4,7] x[0] = x[x.length-2] console.log(x)

javascript
13th Oct 2019, 7:15 PM
Tylor Chambers-Roth
Tylor Chambers-Roth - avatar
1 Antwort

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Linking GitHub with Sololearn profile
1 Votes
Am getting discourage in my Language, Help me out🙏🙏
1 Votes
Error in python
2 Votes
Is the Coding Certificate Worth it??
3 Votes
High paying job?
2 Votes
Assets not loading without trailing slash
1 Votes
Do you Think Sololearn should add GDscript?
2 Votes
Model Context Protocol ? What is it ?
1 Votes
Not Accessing Message Function
0 Votes
Pls wat is the answer for dis question
0 Votes