¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)
14votes
0comments
Live
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
Imprime 'hola' y retorna nil64.3%
Imprime 'hola' y retorna 'hola'14.3%
No imprime nada y retorna 27.1%
No imprime nada y retorna nil7.1%
Imprime 'hola' y retorna 27.1%
No imprime nada y retorna 'hola'0.0%
No imprime nada y retorna false0.0%
Imprime 'hola' y retorna false0.0%
Created
07 Mar 2023
End Date
No limit
Security
IP Check
Multiple Answers
No
Created By
Anonymous
Language
🇬🇧 English
Password
No
Vote Distribution
Imprime 'hola' y retorna nil64.3%
Imprime 'hola' y retorna 'hola'14.3%
No imprime nada y retorna 27.1%
No imprime nada y retorna nil7.1%
Imprime 'hola' y retorna 27.1%
No imprime nada y retorna 'hola'0.0%
No imprime nada y retorna false0.0%
Imprime 'hola' y retorna false0.0%
Comments 0
No comments yet. Be the first!