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
                                    

Options:

  • A
  • B
  • C
  • D
  • E
  • F
  • G

Easy

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

Options:

  • A, B and A, B
  • B, A and B, A
  • A, B and B, A
  • B, A and A, B

Easy

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

Options:

  • Data
  • Error
  • Finale
  • Data Finale
  • Error Finale
🧐 Question🔧 Skill

Medium

Async Await Promises
Promises
Async-Await
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
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.
Try the most candidate friendly skills assessment tool today.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
Chat with us
40 min tests.
No trick questions.
Accurate shortlisting.
Ada
● Online
Previous
Score: NA
Next
✖️