JAVASCRIPT Dates-and-math Online Test

Advertisement

Instructions:

  • Total number of questions: 10.
  • Time allotted: 10 minutes.
  • Each question carries 1 mark.
  • No negative marks.
  • DO NOT refresh the page.
  • All the best :-)

What You Will Learn:

This JavaScript Dates and Math Online Test helps you to Boost your Knowledge in JavaScript. In this test, we cover topics in the form of questions like:
  • Creating Date instances and zero-indexed months (0 = January).
  • Date getter and setter methods (getFullYear, getMonth, getTime).
  • Math object constants: Math.PI, Math.E.
  • Rounding methods: Math.floor(), Math.ceil(), Math.round(), Math.trunc().
  • Random number generation using Math.random() with ranges.

Share your Lovable

Advertisement