comment pouvez-vous mettre une fonction dans une fonction?Comment appeler une fonction depuis une fonction?
do_something(){
alert('do something');
}
also_do_something = function(){
alert('also do something');
};
inp.onclick = function(){
do_something();
// this don't work
also_do_something;
};
Yo dawg nous avons entendu que vous aimez les fonctions .... –
@ josh.trow vous avez fait ma journée –
Je lawl'd. C'était génial. – Eli