Hey. Some time ago I wanted to take a js test. My choice fell on a certificate authority from one large company. What came of this can be found in my article.
The selected javascript test consisted of 45 questions that needed to be answered in 30 minutes.
Description:
The advanced test has been compiled for a version of the JavaScript language (ECMAScript 5, unless otherwise specified in the question) without the use of third-party libraries. Tested in the latest versions of browsers, unless a specific version is specified: Chrome 32+, FireFox 24+ Certificate - yes. Complicated. 4764 attempts.
From myself I can say that most of the questions are on js-y, but they are also found on HTML5, and even Flash.
')
The test itself was compiled not only by developers, but also by ordinary users. It is provided that anyone can add their own question to replenish the common base.
To begin with, I asked an employee of this company to take a test from his post (you need to see what the questions are about). As a result, out of 45 answers, only 18 turned out to be correct, although he had already worked in this organization for two years. Some questions seemed to him vaguely formulated and not correct, he wanted to write about it, but, alas, the site has no direct feedback from the developers (at that time). Then he tried to contact them through corporate chats, but it turned out that this was some kind of third-party company. As a result, they gave me advice: “Do not pass these tests, they are bad, you will not find anything useful for yourself there”.
I, as an
obstinate persistent person, decided to try. The indicators turned out to be approximately the same, but on average I answered 10-15 questions correctly. For all the years, my maximum - 28 questions, although some, for the repeated passage, I managed to learn by heart.
Time passed, sometimes I started to get bored, registered a new mailbox and began to storm the test again. The maximum number of correct answers - 28 pieces. A suspicion crept in: "Can I be stupid?", Because according to the results table it passes successfully.

Some even manage in record time - 6 minutes 56 seconds. An average of 9 seconds to think about. I'm not sure that during this time I will have time to at least read the whole question, but I still have to understand it.
Three years later, I forced my friend to take this test again. He scored 24 correct answers. At that time in this company, he had already grown from a senior to a solid team lead.
At the beginning of the test, you can specify your level, in theory, the higher you evaluated yourself, the more difficult the questions. But as practice has shown, this does not affect anything.

Convenience test
What strikes the first is the difficulty of understanding the meaning of some questions or answer choices. When moderating, they should be formatted, although it may be so conceived, why should the candidate's life be easier.




Correctness

Almost everyone has already refused a flush, what advantages could it have? !!!

It is possible to mark all the points and not one, and both answers will be correct.
There are questions with clearly wrong answers.

I scribbled the rating system.

I decided to check.
<div id="foo" class="bar"></div>
console.log(document.getElementById("foo").getAttribute('class')); document.getElementById("foo").classList.remove("bar");
In general, I already know in advance that I will not answer some questions.
Problem with quotes
You can find different quotes - "", "", ``. With the latter, the most problematic thing is: it’s hard to say if it’s specially conceived or they just play the role of single quotes.

The correct answer is 44.
Here is another question.

Here in the same question are two different types of quotes. It is logical to assume that here single quotes are single quotes and there are still some strange ones (where did they take such people at all, did I find anything similar on my keyboard?).
We would have to answer
"{} === {}", "'a' <'A'" and "'A'> 'B'"
In principle, the console agrees with me:

In the test, the answer fell into the wrong. Hmm, maybe the console is lying?
Here is another interesting question.
function Foo(){ Foo.counter++; console.log(Foo.counter); } Foo.counter = 0; var bar = new Foo; var buz = new Foo;
Console:

This answer was not correct.

If your answer is not correct, then there is an opportunity to “Ask others”, thus creating an active chat. I decided to use this feature on this issue.

At the time of this writing, 01.02.2018, no one answered my question. Yeah, very active chat.
Studying the results of the test, it is possible to see how many people who answered correctly now online and start a chat.
There are 128 users online.
128 and 128. Having come in a week and a half, I saw that the figure has not changed.
The questions are about the same as a couple of years ago. I decided to add there some of my own, for the sample I threw a light one.
What are the cons I saw. First of all, the question adding form.

I did not immediately understand that a check mark with the correct answer was in question, I almost didn’t notice the wrong one. For some reason, the distance from the input field from the bottom to the checkbox is greater than the distance from it to the next field for the next answer.
Apparently, user questions can be given only 4 possible answers, although in the tests there are six options.
There is not any preview function, as well as viewing after sending for moderation. Saved the question and that's it, he went somewhere. You have only one attempt, without the possibility of editing. And for some reason, from the 10th, it still hangs on moderation.
From the application for the project
Authorized users can create their own questions. They will be moderated and published so that other users can evaluate their usefulness. Particularly prominent questions will be added to the tests for the respective programming languages.
Other worthy questions
This question was also marked as wrong for me.

, , </script>, </p>. , <script>, </p> , . , </script>. : " <script>" . "" . , .
Here is another controversial question:

In my understanding, something like this will return the string object
typeof {} -> "object"
But in this case, the correct answers are 1 and 2

How often do you use such an operator?

I've never been.
There are a lot of questions on XMLHttpRequest, a thing of course needed in the household, even in the darkest years, js, I didn’t use the native method anymore, then JQuery provided a more reliable method, and now the frameworks provide functionality.

Also an interesting question, how many times did the test pass, never correctly answered it

In theory, if it’s in one line, then the closing of the function gets into the comment and the console just hangs.
This is the question I remembered: "By how many points can you build a Bezier curve?"
Here I am in my front activities, all I do is build different curves. The manual understands that writing filters and molds is too despicable.
This question was also counted as wrong

Even though I changed the element, I added the necessary id-nickname, I ran their code through the console. Option when I mark separately 2 and separately 1 did not pass. 12 - no either. Perhaps for the correct answer you need to choose 2, 1, 12. Although not, I also checked this answer and still not.
Pro console
You, probably, have already noticed that during my test the console was opened and I checked answers in the process. In principle, everything that got into the Internet can be copied. The developers, of course, put some effort against preventing tasks from being copied during the test by blocking the right mouse button. I opened the console through the chrome menu, selecting "developer tools".

Then I can inspect any item and copy the text. Could turn into pictures of the task.
It is assumed that the test can be taken three times a month. If in the incognito mode to register a new mail, then there is an automatic authorization in the text. So you can pass the test as much as you like.
The results are also displayed strange. If you do not correctly answer the question, then at the end you can see the text of the question and the selected answers. On those that are answered correctly, only the text of the question is shown.
In principle, if not laziness, then you can make a base of all questions with the correct answers. If you get confused and look for the answer, as well as in the process of repeated search, choose the right ones. Questions are repeated relatively often.
Sweet
In the console at all settled error

Some questions are not straightforward by the fact that there is no indication anywhere, when choosing an answer, to take into account strict regime or not.
Total
About the authors.
The authors of the tests are professional developers and experts in their subject areas. All of them have proven experience in using IT-technologies in projects of large Internet companies.
From the company, which organized a wide educational activities in the field of it, I expected more. Moreover, this educational project is actively advertised.
If you suddenly become very bored, then you can kill time. If you are looking for something to improve your knowledge, then this test is unlikely to help you.