Brisk
Quiz
Practice. Learn. Score.
Home
🔍
🌙
🏆
Leaderboard
Login
IT
›
JavaScript
⏱
00:00
0/7 answered
Score: 0
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Question 1
What is the purpose of "webpack" (or a similar module bundler, like Vite or Rollup) in a modern JavaScript project?
Manages a JavaScript project's own external package dependencies, similarly to how npm itself works
A dedicated template engine used exclusively for rendering an application's own HTML views
A dedicated, standalone testing framework used specifically for writing automated JavaScript tests
Bundles multiple JavaScript modules and other assets into optimized output files
Question 2
What is JavaScript "prototypal inheritance"?
A specific, dedicated syntax used only for actually declaring a brand-new class
Objects can inherit properties and methods directly from another object, their prototype
A built-in browser feature used only for automatically caching static JavaScript files
A mechanism used exclusively for handling asynchronous, Promise-based JavaScript code
Question 3
What is the purpose of "code splitting", as commonly performed by a JavaScript bundler?
Automatically and permanently splits a single large JavaScript file into several separate, unrelated files
Breaks a large bundle into smaller chunks, loaded on demand rather than all upfront
Automatically and permanently removes unused code from the resulting final bundle entirely
Automatically and permanently minifies variable names throughout the entire resulting bundle
Question 4
What is "tree shaking", as a feature commonly provided by a modern JavaScript bundler?
Removes code from the final bundle that is genuinely never actually imported or used
Automatically and permanently minifies variable names throughout the entire resulting bundle
Automatically and permanently sorts a project's own import statements into alphabetical order
Automatically and permanently splits a single, large bundle into several smaller, separate bundles
Question 5
What is a JavaScript "closure"?
A function that retains access to variables from its outer, enclosing scope
A function that can only ever be called exactly one single time total
A function that is permanently and completely unable to accept any parameters
A function that is automatically and immediately invoked the moment it is declared
Question 6
What is the purpose of JavaScript's "Array.prototype.find()" method?
Returns a boolean indicating whether at least one array element satisfies a given condition
Returns the first element in the array that satisfies a given condition, or undefined
Returns the specific numeric index of the first matching element found
Returns a brand-new array containing every single matching element found
Question 7
What is the purpose of npm's "package-lock.json" file?
Records the exact resolved versions of every dependency actually installed for a project
Declares a project's own metadata and the general version ranges of its own dependencies
Contains the automated unit tests written specifically for that particular JavaScript project
Contains the actual, complete downloaded source code of every one of a project's dependencies
🔀 Click here to get new question set
Sign up
to save this score to the leaderboard.
Share this quiz
𝕏
💬
f
in
🔗
📚 All Quizzes
Browse every category and see the full list of quizzes on BriskQuiz
→
🏠
Home
📚
Categories
🏆
Leaderboard
👤
Profile