JavaScript (Coding) Quiz
Core JavaScript language behavior, async patterns, and the quirks that trip up both beginners and experienced developers.
This category currently has 186 questions in the SERVBG quiz bank. Below are a few sample questions — the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
Which keyword declares a block-scoped constant?
- const
- var
- let
- def
- final
Which keyword declares a block-scoped variable?
- let
- def
- var
- val
- const
What does <code>typeof null</code> return?
- "undefined"
- "object"
- "none"
- "null"
- "object null"
What does <code>[1,2,3].length</code> return?
- 2
- 4
- 3
- "3"
- undefined
Which method adds to end of an array?
- shift
- append
- add
- enqueue
- push
Related categories
Python (Coding)
Python syntax, standard-library usage, and the language idioms that come up in day-to-day scripting and application work.
Linux
Linux command-line usage, file permissions, process management, and the everyday admin tasks every sysadmin and developer needs.
Security
General information security concepts — threats, defenses, and the fundamentals every IT professional should know.
Hardware
Computer hardware components, how they interact, and the troubleshooting knowledge behind keeping systems running.
Networking
TCP/IP fundamentals, routing, protocols, and the networking concepts behind how systems talk to each other.