Sondages de tendance

¿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
64.3%
Imprime 'hola' y retorna 'hola' 2 Votes
14.3%
No imprime nada y retorna 2 1 Votes
7.1%
No imprime nada y retorna nil 1 Votes
7.1%
Imprime 'hola' y retorna 2 1 Votes
7.1%
No imprime nada y retorna 'hola' 0 Votes
0.0%
No imprime nada y retorna false 0 Votes
0.0%
Imprime 'hola' y retorna false 0 Votes
0.0%
Vote Distribution
Created
07 Mar 2023
Date de fin
Aucune limite
Security
Vérification IP
Created By
Anonyme

Commentaires

Pas encore de commentaires. Sois le premier !

Vote Distribution
×