JavaScript Literacy

  • 15m
  • 15 questions
The JavaScript Literacy benchmark measures your ability to explore features of primitive data types in JavaScript, such as numbers, strings, and booleans. You will be evaluated on your skills in making optimum use of all the functions. A learner who scores high on this benchmark demonstrates that they have the skills to work with primitive data types in JavaScript using methods and operators, as well as define and use JavaScript functions.

Topics covered

  • apply the basic operators on numbers and strings
  • convert data from one primitive type to another
  • create and manage date types in JavaScript
  • create arrays and access and iterate over their elements
  • create while, do-while, and for loops in JavaScript
  • define basic functions and invoke them in JavaScript
  • define functions using the concise syntax available in the ES6 specifications for JavaScript, including the use of arrow functions
  • describe multiple ways to declare and manipulate numerical data in JavaScript
  • distinguish between the var and let keywords when it comes to the scope of JavaScript variables
  • initialize and manipulate JavaScript strings using different techniques
  • manage errors in your application, whether they are raised by JavaScript or by your own logic using try, catch, and finally blocks
  • perform logical tests using if statements and conditional operators
  • recognize how the var, let, and const keywords affect the accessibility of variables in JavaScript functions
  • use in-built string operations to analyze and modify string types
  • use the constants, methods, and random number generators available in the JavaScript Math library