Using a function that made later on | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Using a function that made later on

Is there any way to use a function that was declared later on in file... Like call the function at the start when it is further down the script?

20th Jul 2020, 12:39 PM
Kierren Haggerty
Kierren Haggerty - avatar
3 Réponses
+ 3
You can do it in python if you use OOP
20th Jul 2020, 12:51 PM
Slick
Slick - avatar
+ 5
Yes you can do it in few languages but I advise it's not a good practice 🙅
20th Jul 2020, 12:47 PM
G Srambikal
G Srambikal - avatar
+ 4
You can do it at least on JavaScript Alex
20th Jul 2020, 12:44 PM
Alexandre
Alexandre - avatar