• 15 hours
  • Easy

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 1/19/24

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

Evaluated skills

  • 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?

    Careful, there are several correct answers.
    • 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

Ever considered an OpenClassrooms diploma?
  • Up to 100% of your training program funded
  • Flexible start date
  • Career-focused projects
  • Individual mentoring
Find the training program and funding option that suits you best