Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Why can’t addJob() find the jobs array?
It is declared upon window loading https://code.sololearn.com/W6RFLEI7l4EE/?ref=app
1 Antwort
+ 3
Because you declared the array inside the start function, declare it globally outside the function so you can access it from any function.