¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)
14
投票
0
comments
Imprime 'hola' y retorna nil
9 投票
Imprime 'hola' y retorna 'hola'
2 投票
No imprime nada y retorna 2
1 投票
No imprime nada y retorna nil
1 投票
Imprime 'hola' y retorna 2
1 投票
No imprime nada y retorna 'hola'
0 投票
No imprime nada y retorna false
0 投票
Imprime 'hola' y retorna false
0 投票
Vote Distribution
Created
07 3月 2023
終了日
制限なし
Security
IPチェック
Created By
匿名
Vote Distribution
×
コメント
まだコメントはありません。最初に来て!