DSA Studio
Search
Home
Sign in
Language Expansion Checkpoint
Variables, functions, primitives, and truthiness.
1. Which keyword declares an immutable binding?
let
var
const
fn
2. Which values are falsey in this language?
false and nil
0 only
empty string only
all non-zero numbers
3. String literals are written as:
double-quoted text
single-quoted text
backtick blocks
numeric codes
4. In this pack, functions are:
top-level declarations
nested only
anonymous only
methods on objects
5. Name one primitive value type.
Submit quiz
Auto-advance on pass