• 15 heures
  • Facile

Ce cours est visible gratuitement en ligne.

course.header.alt.is_video

course.header.alt.is_certifying

J'ai tout compris !

Mis à jour le 19/01/2024

Check what you've learned about data and data types!

Compétences évaluées

  • Use data and data types in JavaScript
  • Question 1

    Which of the following is a valid variable declaration and initialization?

    • let my variable = 12;
      
    • let myVariable = 12;
      
    • variable myVariable = 12;
      
    • let 12 = myVariable;
      
  • Question 2

    Which of the following are primitive types in JavaScript?

    Attention, plusieurs réponses sont possibles.
    • String

    • Array

    • Number

    • Boolean

    • Object

    • Class

  • Question 3

    What is the expected value of the variable  numberOfCats at the end of this code snippet?

    let numberOfCats = 10;
    
    numberOfCats += 5;
    numberOfCats /= 3;
    numberOfCats++;
    
    • 4

    • 5

    • 6

    • 7

Et si vous obteniez un diplôme OpenClassrooms ?
  • Formations jusqu’à 100 % financées
  • Date de début flexible
  • Projets professionnalisants
  • Mentorat individuel
Trouvez la formation et le financement faits pour vous