| @@ -0,0 +1,3 @@ | |||
| 1 | + | function task(x) { | |
| 2 | + | return typeof x === 'function' ? x() : 'kroshik0812'; | |
| 3 | + | } | |
arina / gistfile1.txt
Last active 1 month ago
arina revised this gist 1 month ago · 319710c
1 file changed, 3 insertions
Last active 1 month ago
1 file changed, 3 insertions
| @@ -0,0 +1,3 @@ | |||
| 1 | + | function task(x) { | |
| 2 | + | return typeof x === 'function' ? x() : 'kroshik0812'; | |
| 3 | + | } | |