Petit bug dans un exemple d'une page #23672
Labels
l10n-fr
Issues related to French content.
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
URL MDN
https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Functions
Sur quelle section/titre porte ce problème ?
Petite erreur dans le code...
Quelle information était incorrecte, inutile ou incomplète ?
//Dans cet exemple sur la Récursivité, il faut remplacer l'appel de la fonction "toto" par "truc", sinon ça bug !
function truc(i) {
if (i < 0) return;
console.log("début :" + i);
toto(i - 1);
console.log("fin :" + i);
}
truc(3);
//sinon bravo pour tous ces exemples de fonctions car je recherche une erreur dans mon code d'une fonction récursive...
//Ces exemples sont beaucoup plus riches que ceux de la version anglaise de cette page...
//Merci beaucoup.
Que vous attendiez-vous à voir ?
//Merci pour tous ces exemples...
Avez-vous des liens, références ou citations sur ce sujet ?
No response
Souhaitez-vous ajouter autre chose ?
No response
Métadonnées MDN
Page report details
fr/web/javascript/reference/functions
The text was updated successfully, but these errors were encountered: