I thought of a syntax that could be very helpful :
function myFunction(){}
myFunction(){anotherFunction();};
I want to have the same result as : http://jsfiddle.net/tMawX/ but a syntax like : http://jsfiddle.net/J9hQp/
Is there a way to do it?
My final goal is to re-write the for
function so it is wrote like that : for(0,100){func};
instead of for(0,100,func);