Search test library by skills or roles
⌘ K

Adaface Sample JavaScript Questions

Here are some sample JavaScript questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Medium

Async Await Promises
Promises
Async-Await
Solve
What will the following code output?
 image
A: 24 after 5 seconds and after another 5 seconds, another 24
            B: 24 followed by another 24 immediately
            C: 24 immediately and another 24 after 5 seconds
            D: After 5 seconds, 24 and 24
            E: Undefined
            F: NaN
            G: None of these

Easy

Bitcoin prices
Axios
Promises
Solve
Review the following JavaScript code and pick the correct options: 
 image
Assume that the API returns a successful 200 response code and a JSON object as the response body. What would the value of ‘a’ be after the code is executed?

Medium

My Module
Scope
Solve
What will the output of the following JavaScript code be?
 image
 image

Easy

Promise Resolve
Promises
Async-Await
Solve
What does the following code output?
 image

Easy

Throw, Try, Async
Promises
Async-Await
Solve
What does the following JS code output?
 image
🧐 Question🔧 Skill

Medium

Async Await Promises
Promises
Async-Await
2 mins
JavaScript
Solve

Easy

Bitcoin prices
Axios
Promises
2 mins
JavaScript
Solve

Medium

My Module
Scope
2 mins
JavaScript
Solve

Easy

Promise Resolve
Promises
Async-Await
2 mins
JavaScript
Solve

Easy

Throw, Try, Async
Promises
Async-Await
2 mins
JavaScript
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Async Await Promises
Promises
Async-Await
JavaScript
Medium2 mins
Solve
Bitcoin prices
Axios
Promises
JavaScript
Easy2 mins
Solve
My Module
Scope
JavaScript
Medium2 mins
Solve
Promise Resolve
Promises
Async-Await
JavaScript
Easy2 mins
Solve
Throw, Try, Async
Promises
Async-Await
JavaScript
Easy2 mins
Solve

Adaface questions are trusted by enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Prøv det mest kandidatvenlige færdighedsvurderingsværktøj i dag.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
Ada
● Online
Previous
Score: NA
Next
✖️