+ 1
Can I call a function who is declared after the call?
5 ответов
+ 1
really good question.
I tried it in the code playground and it works even if the call is before the definition
+ 1
Even better, if you are using 2 or more script in your webpage (each of them invoqued by à différent <script> tag) you can call à function declared in a other script, but this time thé order of the script déclaration mathers.
0
the function is there to be called. It can be placed almost everywhere in the js.
0
l dont know
0
yes