¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)
14
Voti
0
comments
Imprime 'hola' y retorna nil
9 Voti
Imprime 'hola' y retorna 'hola'
2 Voti
No imprime nada y retorna 2
1 Voti
No imprime nada y retorna nil
1 Voti
Imprime 'hola' y retorna 2
1 Voti
No imprime nada y retorna 'hola'
0 Voti
No imprime nada y retorna false
0 Voti
Imprime 'hola' y retorna false
0 Voti
Vote Distribution
Created
07 Mar 2023
Data di fine
Nessun limite
Security
Controllo IP
Created By
Anonimo
Vote Distribution
×
Commenti
Nessun commento ancora. Sii il primo!