This TypeScript and JavaScript Online Test Separates Good From Bad Hires

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The TypeScript and JavaScript online test assesses candidates' knowledge of programming in the languages of the web: JavaScript and TypeScript.

It's an ideal test for pre-employment screening. A good web developer needs to be knowledgeable of the features and structures of JavaScript and the potential benefits that TypeScript offers in web page scalability and encapsulation.

This test requires candidates to develop solutions in JavaScript and TypeScript.

Sample public questions

The following code initializes three types representing the colors: red, green and blue.

type ColorType = [string, number, number, number];
let red: ColorType = ['Red', 1, 0, 0];
let green: [string, number, number, number] = ['Green', 0, 1, 0];
let blue = ['Blue', 0, 0, 1];

Select the statements that are correct.

TypeScript
Arrays
OOP
Easy
2 min
mca
Public

Implement the ensure function so that it throws an error if called without arguments or the argument is undefined. Otherwise it should return the given value.

JavaScript
Error Handling
Language
Easy
3 min
code
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the TypeScript and JavaScript test with public questions.

Take a Certification Test

Sample silver certificate

Peter Gibbons

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

51 more premium TypeScript and JavaScript questions

  Positive Numbers,   Truthy Expressions,   Garden Plants,   Open Interface,   Max Sum,   Person,   Launch Time,   Function Wrapper,   Log Parser,   Unique Numbers,   Load URL,   Photon Frequency,   Trading Data Paging,   Color Codes,   Tax Calculator,   Height,   Taxable Book,   Album,   Confirm,   First Not Null,   Friend,   Memory Game,   New Folder,   Post Comment,   Row Appender,   Vectors,   Segment,   Special Actions,   Height,   Product Rating,   Validation,   Cards,   Array Search,   Screen,   Timer,   Username,   Snapshot,   Scale Font Size,   Products,   Paragraph,   Hide Button,   A Tag,   Hobbies,   Loading Bar,   Log Patch,   Double,   Table of Names,   Filter,   Filter,   Reorder,   Date Transform.

Skills and topics tested

  • JavaScript
  • Closures
  • Language
  • TypeScript
  • OOP
  • Algorithmic Thinking
  • Spread
  • Timing Events
  • Exceptions
  • Serialization
  • XML
  • Dictionary
  • Ajax
  • HTTP
  • Promise
  • Arrays
  • JSON
  • Pagination
  • Sorting
  • Associative Arrays
  • Classes
  • Objects
  • Arithmetic
  • Inheritance
  • Dialog Box
  • Event Handling
  • Union Types
  • Graphs
  • Strings
  • Content Manipulation
  • DOM Manipulation
  • Iteration
  • Attribute Manipulation
  • Forms
  • Recursion
  • Bug Fixing
  • ECMAScript 2015
  • Asynchronous Calls
  • Callback
  • Regex
  • Styling
  • HTML5
  • Monkey Patching

For job roles

  • JavaScript Developer
  • TypeScript Developer
  • Web Front-End Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1
Choose a pre-made test or create a custom test.
2
Invite candidates via email, URL or your ATS
3
Candidates take a test remotely
4
Sort candidates and get individual reports

Want to know more?

Not exactly what you're looking for?

Related TypeScript and JavaScript Programming Tests: