¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)
14
Votes
0
comments
Imprime 'hola' y retorna nil
9 Votes
Imprime 'hola' y retorna 'hola'
2 Votes
No imprime nada y retorna 2
1 Votes
No imprime nada y retorna nil
1 Votes
Imprime 'hola' y retorna 2
1 Votes
No imprime nada y retorna 'hola'
0 Votes
No imprime nada y retorna false
0 Votes
Imprime 'hola' y retorna false
0 Votes
Vote Distribution
Created
07 Mar 2023
Date de fin
Aucune limite
Security
Vérification IP
Created By
Anonyme
Vote Distribution
×
Commentaires
Pas encore de commentaires. Sois le premier !