Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Javascript Online Assessment Test

Topics Covered

  • Functions
  • Modules & Classes
  • Datatypes & Expressions
  • DOM (Document Object Model)

Useful for hiring

  • Javascript Developer
  • Javascript Programmer
  • Front-End Developer

Start hiring job-fit candidates using this assessment


"Our recruitment team loves Interview Mocha especially for their skill assessments, simulators, and friendly support. Since using Interview Mocha, we interview only relevant candidates, and this has reduced our time to hire. Recruitment is no longer an hassle for us."

Christoph, e-Zest GmbH

If the window has child windows, how will the browsing histories be affected?

Note: There can be multiple correct answers to this question.

    • Numerically interleaved

    • Chronologically interleaved

    • Synchronously interleaved


Consider the following code snippet:


What is the result of the above code snippet?

    • Throws exception

    • Swap the value of the two variables

    • Flashes an error

    • Creates a new reference object


Consider the following code snippet:

let succ = function(x) x+1, yes = function() true, no = function() false;

What convenience does the above code snippet provide?

    • Functional behaviour

    • Modular behaviour

    • No convenience

    • Shorthand expression

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates