+ 2

Do we always need to have a function (like wrap() in our case) to decorate?

19th Jul 2016, 1:11 PM
Ankit Gangwal
Ankit Gangwal - avatar
2 Respuestas
+ 1
Only if you want to decorate something ))
20th Jul 2016, 8:29 PM
Александр Малин
Александр Малин - avatar
0
no , you do not need to ,you could return the param func directly
9th Jan 2017, 5:17 AM
nate
nate - avatar