JS

Modern JavaScript Essentials

Easy Knowledge Check · Real-World Development

Quiz 01 · Easy

Write Safer, Cleaner, Smarter JavaScript

Check your understanding of modern ES6+ essentials used in real-world applications.

Format
10 Questions · 10 Points
5
True / False
5
Multiple Choice
Easy
Difficulty Level

Part A — True / False

QUESTION 1

Use const when a variable reference should not be reassigned.

QUESTION 2

let should never be used when a value needs to change later.

QUESTION 3

Template literals can embed values inside text using ${...}.

QUESTION 4

The spread operator ... can be used to copy an array.

QUESTION 5

Optional chaining ?. is mainly used to force an error when a nested property is missing.

Part B — Multiple Choice

QUESTION 6

Which syntax represents an arrow function?

QUESTION 7

What is a common purpose of destructuring?

QUESTION 8

What is the main benefit of a default parameter?

QUESTION 9

Which operator provides a fallback when a value is null or undefined?

QUESTION 10

Which pair is used to share and reuse code with ES Modules?