• Cursussen
  • Code Compiler
  • Discussiëren
  • Prijzen
  • Teams
Menu
+ 2

Ruby - Cryptic code

Step by Step, what does this code do? arr=[1, 3, 4, 5, 6, 7] other_arr=arr.map(&:even?) p other_arr.index(true)

arraysruby
13th Sep 2019, 8:33 AM
Paolo De Nictolis
Paolo De Nictolis - avatar
1 Antwoord

Heb je vaak vragen zoals deze?

Leer efficiënter, gratis:

  • Inleiding tot Python

    7,1 miljoen leerlingen

  • Inleiding tot Java

    4,7 miljoen leerlingen

  • Inleiding tot C

    1,5 miljoen leerlingen

  • Inleiding tot HTML

    7,5 miljoen leerlingen

Bekijk alle cursussen
Populair vandaag
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Anyone have song names? Comment your favorites here for a project im working on
1 Votes
Need suggestions to learn AI and ML
1 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes
Java full stack
0 Votes
Duration of heart refilling
0 Votes
Why isn't a linked video not working
0 Votes