+ 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)
1 Antwort
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)