Sondaggi di tendenza

¿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
64.3%
Imprime 'hola' y retorna 'hola' 2 Voti
14.3%
No imprime nada y retorna 2 1 Voti
7.1%
No imprime nada y retorna nil 1 Voti
7.1%
Imprime 'hola' y retorna 2 1 Voti
7.1%
No imprime nada y retorna 'hola' 0 Voti
0.0%
No imprime nada y retorna false 0 Voti
0.0%
Imprime 'hola' y retorna false 0 Voti
0.0%
Vote Distribution
Created
07 Mar 2023
Data di fine
Nessun limite
Security
Controllo IP
Created By
Anonimo

Commenti

Nessun commento ancora. Sii il primo!

Vote Distribution
×