Passer au contenu
English

Local variables

  • A variable made inside a function is local.
  • Its name belongs to that function call.
  • Code outside cannot access that local name directly. An object returned by the function can still be used after the call ends.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP