Answer the question
In order to leave comments, you need to log in
Is it possible to write a function in one line?
Hello.
The question is more theoretical than practical.
Let's say in JavaScript setInterval with console.log:
setInterval(function() {
console.log("test");
}, 1000);
setInterval ->
console.log "test"
, 1000
setInterval(function() {console.log("test");}, 1000);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question