QCM
Alternative
L’instruction if :
Votre choixChoix attenduRéponse
Alternative
L’opérateur ternaire condition ? valeur1 : valeur2
Votre choixChoix attenduRéponse
Alternative
L’instruction switch :
Votre choixChoix attenduRéponse
Opérateur
L’opérateur de coalescence des nuls (??) :
Votre choixChoix attenduRéponse
Tant que
La boucle while :
Votre choixChoix attenduRéponse
Pour
La boucle for :
Votre choixChoix attenduRéponse
Pour
Dans une boucle for avec for (let i = 0; i <= 5; i++) :
Votre choixChoix attenduRéponse
Alternative
Une condition composée avec if (a > 0 && b < 10) :
Votre choixChoix attenduRéponse
Quiz Structure de contrôles
Comment parcourir les valeurs d'un tableau ?