Trend Polls

¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)


Imprime 'hola' y retorna nil
9 Vote

64.3%
Imprime 'hola' y retorna 'hola'
2 Vote

14.3%
No imprime nada y retorna 2
1 Vote

7.1%
No imprime nada y retorna nil
1 Vote

7.1%
Imprime 'hola' y retorna 2
1 Vote

7.1%
No imprime nada y retorna 'hola'
0 Vote

0.0%
No imprime nada y retorna false
0 Vote

0.0%
Imprime 'hola' y retorna false
0 Vote

0.0%

Total Vote 14
Comments 0

IP Duplication Checking

Share:

March 7, 2023, 7:09 p.m.
( 1 year, 1 month ago. )

IP Duplication Checking

Indefinite

No

No

No

No

@Anonymous

No

Comments:
To post a comment, please login or register a new account.