Chuyển tới nội dung chính

Câu hỏi mới đã được thêm!Khám phá ngay

frontendprofrontendpro
Tổng quan
Tất cả câu hỏi luyện tậpFrameworks / ngôn ngữĐịnh dạng câu hỏiTất cả quiz
GIẢM 20%

Hoàn thành nhiệm vụ đơn giản để mở khóa ưu đãi

Xem nhiệm vụ
frontendprofrontendproTổng quan
Đăng nhập
GiáMỚITruy cập đầy đủĐăng nhập
frontendprofrontendpro

Tài liệu Software Engineering

Luyện tập

  • Tất cả câu hỏi
  • Tất cả quiz
  • Tất cả tài liệu

Khám phá

  • Tổng quan
  • Tiết kiệm thời gian
  • Frameworks / ngôn ngữ

Tài khoản

  • Đăng nhập
  • Đăng ký

© 2026 frontendpro. Bảo lưu mọi quyền.

DiscordLinkedInGitHub

Câu hỏi phỏng vấn

Nếu bạn mới bắt đầu phỏng vấn frontend, chúng tôi khuyên bạn bắt đầu với danh sách cơ bản.

Quiz
130câu hỏi52giờ tổng

How can you share code between JavaScript files?

Warm up question

<!-- Update here: /questions/how-can-you-share-code-between-files/en-US.mdx --> To share code between JavaScript files,…

JS functionsCơ bản

Explain the concept of the Prototype pattern

Warm up question

<!-- Update here: /questions/explain-the-concept-of-the-prototype-pattern/en-US.mdx --> The Prototype pattern is a creat…

JS functionsCơ bản

Explain the concept of the Singleton pattern

Warm up question

<!-- Update here: /questions/explain-the-concept-of-the-singleton-pattern/en-US.mdx --> The Singleton pattern ensures th…

JS functionsCơ bản

What are design patterns and why are they useful?

Warm up question

<!-- Update here: /questions/what-are-design-patterns-and-why-are-they-useful/en-US.mdx --> Design patterns are reusable…

JS functionsCơ bản

What are some tools that can be used for JavaScript testing?

Warm up question

<!-- Update here: /questions/what-are-some-tools-that-can-be-used-for-javascript-testing/en-US.mdx --> For JavaScript te…

JS functionsCơ bản

What are some popular JavaScript testing frameworks?

Warm up question

<!-- Update here: /questions/what-are-some-popular-javascript-testing-frameworks/en-US.mdx --> Some popular JavaScript t…

JS functionsCơ bản

Explain the concept of caching and how it can be used to improve performance

Warm up question

<!-- Update here: /questions/explain-the-concept-of-caching-and-how-it-can-be-used-to-improve-performance/en-US.mdx -->…

JS functionsCơ bản

Explain the concept of lazy loading and how it can improve performance

Warm up question

<!-- Update here: /questions/explain-the-concept-of-lazy-loading-and-how-it-can-improve-performance/en-US.mdx --> Lazy l…

JS functionsCơ bản

Explain the concept of debouncing and throttling

Warm up question

<!-- Update here: /questions/explain-the-concept-of-debouncing-and-throttling/en-US.mdx --> Debouncing and throttling ar…

JS functionsCơ bản

How do Sets and Maps handle equality checks for objects?

Warm up question

<!-- Update here: /questions/how-do-sets-and-maps-handle-equality-checks-for-objects/en-US.mdx --> s and s in JavaScript…

JS functionsCơ bản

What is the difference between a Map object and a plain object in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-a-map-object-and-a-plain-object-in-javascript/en-US.mdx -->…

JS functionsCơ bản

How do you convert a Set to an array in JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-convert-a-set-to-an-array-in-javascript/en-US.mdx --> To convert a to an array…

JS functionsCơ bản

What are the differences between Map/Set and WeakMap/WeakSet in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-map-set-and-weakmap-weakset/en-US.mdx --> The primary diff…

JS functionsCơ bản

What are Sets and Maps and how are they used?

Warm up question

<!-- Update here: /questions/what-are-sets-and-maps-and-how-are-they-used/en-US.mdx --> s and s are built-in JavaScript…

JS functionsCơ bản

Provide some examples of how currying and partial application can be used

Warm up question

<!-- Update here: /questions/provide-some-examples-of-how-currying-and-partial-application-can-be-used/en-US.mdx --> Cur…

JS functionsCơ bản

What is the purpose of the finally block?

Warm up question

<!-- Update here: /questions/what-is-the-purpose-of-the-finally-block/en-US.mdx --> The block in JavaScript is used to…

JS functionsCơ bản

How do you handle errors using try...catch blocks?

Warm up question

<!-- Update here: /questions/how-do-you-handle-errors-using-trycatch-blocks/en-US.mdx --> To handle errors using blocks…

JS functionsCơ bản

What do you think of CommonJS vs ESM?

Warm up question

<!-- Update here: /questions/what-do-you-think-of-amd-vs-commonjs/en-US.mdx --> JavaScript has evolved its module system…

JS functionsCơ bản

How do you import and export modules in JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-import-and-export-modules-in-javascript/en-US.mdx --> In JavaScript, you can imp…

JS functionsCơ bản

What are modules and why are they useful?

Warm up question

<!-- Update here: /questions/what-are-modules-and-why-are-they-useful/en-US.mdx --> Modules are reusable pieces of code…

JS functionsCơ bản

How do you get the query string values of the current page in JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-get-the-query-string-values-of-the-current-page-in-javascript/en-US.mdx --> To g…

JS functionsCơ bản

How do you redirect to a new page in JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-redirect-to-a-new-page-in-javascript/en-US.mdx --> To redirect to a new page in…

JS functionsCơ bản

How do you use window.history API?

Warm up question

<!-- Update here: /questions/how-do-you-use-windowhistory-api/en-US.mdx --> The API allows you to manipulate the browse…

JS functionsCơ bản

What are the differences between XMLHttpRequest and fetch() in JavaScript and browsers?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-xmlhttprequest-and-fetch/en-US.mdx --> (XHR) and API are…

JS functionsCơ bản

What are the advantages and disadvantages of using AJAX?

Warm up question

<!-- Update here: /questions/what-are-the-advantages-and-disadvantages-of-using-ajax/en-US.mdx --> AJAX (Asynchronous Ja…

JS functionsCơ bản

Explain AJAX in as much detail as possible

Warm up question

<!-- Update here: /questions/explain-ajax-in-as-much-detail-as-possible/en-US.mdx --> AJAX (Asynchronous JavaScript and…

JS functionsCơ bản

What are the different ways to make an API call in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-different-ways-to-make-an-api-call-in-javascript/en-US.mdx --> In JavaScript,…

JS functionsCơ bản

How do you make an HTTP request using the Fetch API?

Warm up question

<!-- Update here: /questions/how-do-you-make-an-http-request-using-the-fetch-api/en-US.mdx --> To make an HTTP request u…

JS functionsCơ bản

Describe the difference between a cookie, sessionStorage and localStorage in browsers

Warm up question

<!-- Update here: /questions/describe-the-difference-between-a-cookie-sessionstorage-and-localstorage/en-US.mdx --> All…

JS functionsCơ bản

Describe the difference between <script, <script async and <script defer

Warm up question

<!-- Update here: /questions/describe-the-difference-between-script-async-and-script-defer/en-US.mdx --> All of these wa…

JS functionsCơ bản

How do you manipulate CSS styles using JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-manipulate-css-styles-using-javascript/en-US.mdx --> You can manipulate CSS styl…

JS functionsCơ bản

What is the difference between mouseenter and mouseover event in JavaScript and browsers?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-mouseenter-and-mouseover-event/en-US.mdx --> The main differ…

JS functionsCơ bản

How do you prevent the default behavior of an event?

Warm up question

<!-- Update here: /questions/how-do-you-prevent-the-default-behavior-of-an-event/en-US.mdx --> To prevent the default be…

JS functionsCơ bản

Explain event delegation in JavaScript

Warm up question

<!-- Update here: /questions/explain-event-delegation/en-US.mdx --> Event delegation is a technique in JavaScript where…

JS functionsCơ bản

Describe event capturing in JavaScript and browsers

Warm up question

<!-- Update here: /questions/describe-event-capturing/en-US.mdx --> Event capturing is a lesser-used counterpart to [eve…

JS functionsCơ bản

Describe event bubbling in JavaScript and browsers

Warm up question

<!-- Update here: /questions/describe-event-bubbling/en-US.mdx --> Event bubbling is a DOM event propagation mechanism w…

JS functionsCơ bản

What are event listeners and how are they used?

Warm up question

<!-- Update here: /questions/what-are-event-listeners-and-how-are-they-used/en-US.mdx --> Event listeners are functions…

JS functionsCơ bản

How do you add, remove, and modify HTML elements using JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-add-remove-and-modify-html-elements-using-javascript/en-US.mdx --> To add, remov…

JS functionsCơ bản

Explain the difference between document.querySelector() and document.getElementById()

Warm up question

<!-- Update here: /questions/explain-the-difference-between-documentqueryselector-and-documentgetelementbyid/en-US.mdx -…

JS functionsCơ bản

What is the DOM and how is it structured?

Warm up question

<!-- Update here: /questions/what-is-the-dom-and-how-is-it-structured/en-US.mdx --> The DOM, or Document Object Model, i…

JS functionsCơ bản

Explain the concept of this binding in event handlers

Warm up question

<!-- Update here: /questions/explain-the-concept-of-this-binding-in-event-handlers/en-US.mdx --> In JavaScript, the key…

JS functionsCơ bản

What are the common pitfalls of using the this keyword?

Warm up question

<!-- Update here: /questions/what-are-the-common-pitfalls-of-using-the-this-keyword/en-US.mdx --> The keyword in JavaSc…

JS functionsCơ bản

Explain Function.prototype.bind in JavaScript

Warm up question

<!-- Update here: /questions/explain-function-prototype-bind/en-US.mdx --> is a method in JavaScript that allows you to…

JS functionsCơ bản

Explain how this works in JavaScript

Warm up question

<!-- Update here: /questions/explain-how-this-works-in-javascript/en-US.mdx --> There's no simple explanation for ; it i…

JS functionsCơ bản

Explain the difference between global scope, function scope, and block scope

Warm up question

<!-- Update here: /questions/explain-the-difference-between-global-scope-function-scope-and-block-scope/en-US.mdx --> Gl…

JS functionsCơ bản

How can closures be used to create private variables?

Warm up question

<!-- Update here: /questions/how-can-closures-be-used-to-create-private-variables/en-US.mdx --> Closures in JavaScript c…

JS functionsCơ bản

Explain the concept of scope in JavaScript

Warm up question

<!-- Update here: /questions/explain-the-concept-of-scope-in-javascript/en-US.mdx --> In JavaScript, scope determines th…

JS functionsCơ bản

Explain the concept of lexical scoping

Warm up question

<!-- Update here: /questions/explain-the-concept-of-lexical-scoping/en-US.mdx --> Lexical scoping means that the scope o…

JS functionsCơ bản

What advantage is there for using the JavaScript arrow syntax for a method in a constructor?

Warm up question

<!-- Update here: /questions/what-advantage-is-there-for-using-the-arrow-syntax-for-a-method-in-a-constructor/en-US.mdx…

JS functionsCơ bản

What are the differences between JavaScript ES2015 classes and ES5 function constructors?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-es6-class-and-es5-function-constructors/en-US.mdx --> ES20…

JS functionsCơ bản

How do you create a constructor function?

Warm up question

<!-- Update here: /questions/how-do-you-create-a-constructor-function/en-US.mdx --> To create a constructor function in…

JS functionsCơ bản

What is the purpose of the new keyword?

Warm up question

<!-- Update here: /questions/what-is-the-purpose-of-the-new-keyword/en-US.mdx --> The keyword in JavaScript is used to…

JS functionsCơ bản

Explain the concept of inheritance in ES2015 classes

Warm up question

<!-- Update here: /questions/explain-the-concept-of-inheritance-in-es2015-classes/en-US.mdx --> Inheritance in ES2015 cl…

JS functionsCơ bản

Explain the difference between classical inheritance and prototypal inheritance

Warm up question

<!-- Update here: /questions/explain-the-difference-between-classical-inheritance-and-prototypal-inheritance/en-US.mdx -…

JS functionsCơ bản

Explain how prototypal inheritance works in JavaScript

Warm up question

<!-- Update here: /questions/explain-how-prototypal-inheritance-works/en-US.mdx --> Prototypical inheritance in JavaScri…

JS functionsCơ bản

How do you handle errors in asynchronous operations?

Warm up question

<!-- Update here: /questions/how-do-you-handle-errors-in-asynchronous-operations/en-US.mdx --> To handle errors in async…

JS functionsCơ bản

What is the use of Promise.all()

Warm up question

<!-- Update here: /questions/what-is-the-use-of-promiseall/en-US.mdx --> is a method in JavaScript that takes an array…

JS functionsCơ bản

What are Promises and how do they work?

Warm up question

<!-- Update here: /questions/what-are-promises-and-how-do-they-work/en-US.mdx --> Promises in JavaScript are objects tha…

JS functionsCơ bản

Explain the concept of a callback function in asynchronous operations

Warm up question

<!-- Update here: /questions/explain-the-concept-of-a-callback-function-in-asynchronous-operations/en-US.mdx --> A callb…

JS functionsCơ bản

Explain the difference between synchronous and asynchronous functions in JavaScript

Warm up question

<!-- Update here: /questions/explain-the-difference-between-synchronous-and-asynchronous-functions/en-US.mdx --> Synchro…

JS functionsCơ bản

What is the event loop in JavaScript runtimes?

Warm up question

<!-- Update here: /questions/what-is-event-loop-what-is-the-difference-between-call-stack-and-task-queue/en-US.mdx --> T…

JS functionsCơ bản

How do you reliably determine whether an object is empty?

Warm up question

<!-- Update here: /questions/how-do-you-reliably-determine-whether-an-object-is-empty/en-US.mdx --> To reliably determin…

JS functionsCơ bản

Explain the concept of destructuring assignment for objects and arrays

Warm up question

<!-- Update here: /questions/explain-the-concept-of-destructuring-assignment-for-objects-and-arrays/en-US.mdx --> Destru…

JS functionsCơ bản

How do you check if an object has a specific property?

Warm up question

<!-- Update here: /questions/how-do-you-check-if-an-object-has-a-specific-property/en-US.mdx --> To check if an object h…

JS functionsCơ bản

What are the advantages of using the spread operator with arrays and objects?

Warm up question

<!-- Update here: /questions/what-are-the-advantages-of-using-the-spread-operator-with-arrays-and-objects/en-US.mdx -->…

JS functionsCơ bản

Explain the difference between shallow copy and deep copy

Warm up question

<!-- Update here: /questions/explain-the-difference-between-shallow-copy-and-deep-copy/en-US.mdx --> A shallow copy dupl…

JS functionsCơ bản

What are the different ways to copy an object or an array?

Warm up question

<!-- Update here: /questions/what-are-the-different-ways-to-copy-an-object-or-an-array/en-US.mdx --> To copy an object o…

JS functionsCơ bản

How do you add, remove, and update elements in an array?

Warm up question

<!-- Update here: /questions/how-do-you-add-remove-and-update-elements-in-an-array/en-US.mdx --> To add elements to an a…

JS functionsCơ bản

What are the different methods for iterating over an array?

Warm up question

<!-- Update here: /questions/what-are-the-different-methods-for-iterating-over-an-array/en-US.mdx --> There are several…

JS functionsCơ bản

Explain the difference between dot notation and bracket notation for accessing object properties

Warm up question

<!-- Update here: /questions/explain-the-difference-between-dot-notation-and-bracket-notation-for-accessing-object-prope…

JS functionsCơ bản

What are the various ways to create objects in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-various-ways-to-create-objects-in-javascript/en-US.mdx --> Creating objects in…

JS functionsCơ bản

What are default parameters and how are they used?

Warm up question

<!-- Update here: /questions/what-are-default-parameters-and-how-are-they-used/en-US.mdx --> Default parameters in JavaS…

JS functionsCơ bản

What is recursion and how is it used in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-recursion-and-how-is-it-used-in-javascript/en-US.mdx --> Recursion is a programming…

JS functionsCơ bản

What are callback functions and how are they used?

Warm up question

<!-- Update here: /questions/what-are-callback-functions-and-how-are-they-used/en-US.mdx --> A callback function is a fu…

JS functionsCơ bản

What is the definition of a higher-order function in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-definition-of-a-higher-order-function/en-US.mdx --> A higher-order function is…

JS functionsCơ bản

Difference between: function Person(){}, const person = Person(), and const person = new Person() in JavaScript?

Warm up question

<!-- Update here: /questions/difference-between-function-person-var-person-person-and-var-person-new-person/en-US.mdx --…

JS functionsCơ bản

Can you offer a use case for the new arrow = function syntax?

Warm up question

<!-- Update here: /questions/can-you-offer-a-use-case-for-the-new-arrow-function-syntax-how-does-this-new-syntax-differ-…

JS functionsCơ bản

What's the difference between .call and .apply in JavaScript?

Warm up question

<!-- Update here: /questions/whats-the-difference-between-call-and-apply/en-US.mdx --> and are both used to invoke fun…

JS functionsCơ bản

Explain the concept of hoisting with regards to functions

Warm up question

<!-- Update here: /questions/explain-the-concept-of-hoisting-with-regards-to-functions/en-US.mdx --> Hoisting in JavaScr…

JS functionsCơ bản

What is the difference between a parameter and an argument?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-a-parameter-and-an-argument/en-US.mdx --> A parameter is a v…

JS functionsCơ bản

Explain the differences on the usage of foo between function foo() {} and var foo = function() {} in JavaScript

Warm up question

<!-- Update here: /questions/explain-the-differences-on-the-usage-of-foo-between-function-foo-and-var-foo-function/en-US…

JS functionsCơ bản

What are the benefits of using spread syntax in JavaScript and how is it different from rest syntax?

Warm up question

<!-- Update here: /questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US…

JS functionsCơ bản

Explain the concept of the spread operator and its uses

Warm up question

<!-- Update here: /questions/explain-the-concept-of-the-spread-operator-and-its-uses/en-US.mdx --> The spread operator (…

JS functionsCơ bản

What are rest parameters and how are they used?

Warm up question

<!-- Update here: /questions/what-are-rest-parameters-and-how-are-they-used/en-US.mdx --> Rest parameters in JavaScript…

JS functionsCơ bản

What is the purpose of the switch statement?

Warm up question

<!-- Update here: /questions/what-is-the-purpose-of-the-switch-statement/en-US.mdx --> The statement is used to execute…

JS functionsCơ bản

How do you access the index of an element in an array during iteration?

Warm up question

<!-- Update here: /questions/how-do-you-access-the-index-of-an-element-in-an-array-during-iteration/en-US.mdx --> To acc…

JS functionsCơ bản

What is the ternary operator and how is it used?

Warm up question

<!-- Update here: /questions/what-is-the-ternary-operator-and-how-is-it-used/en-US.mdx --> The ternary operator is a sho…

JS functionsCơ bản

What is the purpose of the break and continue statements?

Warm up question

<!-- Update here: /questions/what-is-the-purpose-of-the-break-and-continue-statements/en-US.mdx --> The statement is us…

JS functionsCơ bản

What language constructs do you use for iterating over object properties and array items in JavaScript?

Warm up question

<!-- Update here: /questions/what-language-constructs-do-you-use-for-iterating-over-object-properties-and-array-items/en…

JS functionsCơ bản

What is the difference between == and === in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-double-equal-and-triple-equal/en-US.mdx --> is the abstract…

JS functionsCơ bản

How can you avoid problems related to hoisting?

Warm up question

<!-- Update here: /questions/how-can-you-avoid-problems-related-to-hoisting/en-US.mdx --> To avoid problems related to h…

JS functionsCơ bản

Explain the difference in hoisting between var, let, and const

Warm up question

<!-- Update here: /questions/explain-the-difference-in-hoisting-between-var-let-and-const/en-US.mdx --> declarations ar…

JS functionsCơ bản

Explain the concept of "hoisting" in JavaScript

Warm up question

<!-- Update here: /questions/explain-hoisting/en-US.mdx --> Hoisting is a JavaScript mechanism where variable and functi…

JS functionsCơ bản

What is the spread operator and how is it used?

Warm up question

<!-- Update here: /questions/what-is-the-spread-operator-and-how-is-it-used/en-US.mdx --> The spread operator, represent…

JS functionsCơ bản

What are template literals and how are they used?

Warm up question

<!-- Update here: /questions/what-are-template-literals-and-how-are-they-used/en-US.mdx --> Template literals are a feat…

JS functionsCơ bản

How do you convert a string to a number in JavaScript?

Warm up question

<!-- Update here: /questions/how-do-you-convert-a-string-to-a-number-in-javascript/en-US.mdx --> In JavaScript, you can…

JS functionsCơ bản

What are the differences between JavaScript variables created using let, var or const?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-variables-created-using-let-var-or-const/en-US.mdx --> In…

JS functionsCơ bản

What's the difference between a JavaScript variable that is: null, undefined or undeclared?

Warm up question

<!-- Update here: /questions/whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-…

JS functionsCơ bản

How do you check the data type of a variable?

Warm up question

<!-- Update here: /questions/how-do-you-check-the-data-type-of-a-variable/en-US.mdx --> To check the data type of a vari…

JS functionsCơ bản

What are the various data types in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-various-data-types-in-javascript/en-US.mdx --> In JavaScript, data types can b…

JS functionsCơ bản

What are the differences between Map/Set and WeakMap/WeakSet in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-map-set-and-weakmap-weakset/en-US.mdx --> The primary diff…

JS functionsCơ bản

What is the difference between a Map object and a plain object in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-a-map-object-and-a-plain-object-in-javascript/en-US.mdx -->…

JS functionsCơ bản

What are the benefits of using spread syntax in JavaScript and how is it different from rest syntax?

Warm up question

<!-- Update here: /questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US…

JS functionsCơ bản

What language constructs do you use for iterating over object properties and array items in JavaScript?

Warm up question

<!-- Update here: /questions/what-language-constructs-do-you-use-for-iterating-over-object-properties-and-array-items/en…

JS functionsCơ bản

What are the various data types in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-various-data-types-in-javascript/en-US.mdx --> In JavaScript, data types can b…

JS functionsCơ bản

What are the differences between XMLHttpRequest and fetch() in JavaScript and browsers?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-xmlhttprequest-and-fetch/en-US.mdx --> (XHR) and API are…

JS functionsCơ bản

What are the advantages and disadvantages of using AJAX?

Warm up question

<!-- Update here: /questions/what-are-the-advantages-and-disadvantages-of-using-ajax/en-US.mdx --> AJAX (Asynchronous Ja…

JS functionsCơ bản

Explain AJAX in as much detail as possible

Warm up question

<!-- Update here: /questions/explain-ajax-in-as-much-detail-as-possible/en-US.mdx --> AJAX (Asynchronous JavaScript and…

JS functionsCơ bản

Explain the difference between synchronous and asynchronous functions in JavaScript

Warm up question

<!-- Update here: /questions/explain-the-difference-between-synchronous-and-asynchronous-functions/en-US.mdx --> Synchro…

JS functionsCơ bản

What is the difference between mouseenter and mouseover event in JavaScript and browsers?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-mouseenter-and-mouseover-event/en-US.mdx --> The main differ…

JS functionsCơ bản

Describe event capturing in JavaScript and browsers

Warm up question

<!-- Update here: /questions/describe-event-capturing/en-US.mdx --> Event capturing is a lesser-used counterpart to [eve…

JS functionsCơ bản

Describe event bubbling in JavaScript and browsers

Warm up question

<!-- Update here: /questions/describe-event-bubbling/en-US.mdx --> Event bubbling is a DOM event propagation mechanism w…

JS functionsCơ bản

What are the differences between JavaScript ES2015 classes and ES5 function constructors?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-es6-class-and-es5-function-constructors/en-US.mdx --> ES20…

JS functionsCơ bản

What is the definition of a higher-order function in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-definition-of-a-higher-order-function/en-US.mdx --> A higher-order function is…

JS functionsCơ bản

What are the various ways to create objects in JavaScript?

Warm up question

<!-- Update here: /questions/what-are-the-various-ways-to-create-objects-in-javascript/en-US.mdx --> Creating objects in…

JS functionsCơ bản

Explain the differences on the usage of foo between function foo() {} and var foo = function() {} in JavaScript

Warm up question

<!-- Update here: /questions/explain-the-differences-on-the-usage-of-foo-between-function-foo-and-var-foo-function/en-US…

JS functionsCơ bản

Difference between: function Person(){}, const person = Person(), and const person = new Person() in JavaScript?

Warm up question

<!-- Update here: /questions/difference-between-function-person-var-person-person-and-var-person-new-person/en-US.mdx --…

JS functionsCơ bản

Explain how prototypal inheritance works in JavaScript

Warm up question

<!-- Update here: /questions/explain-how-prototypal-inheritance-works/en-US.mdx --> Prototypical inheritance in JavaScri…

JS functionsCơ bản

What advantage is there for using the JavaScript arrow syntax for a method in a constructor?

Warm up question

<!-- Update here: /questions/what-advantage-is-there-for-using-the-arrow-syntax-for-a-method-in-a-constructor/en-US.mdx…

JS functionsCơ bản

Explain Function.prototype.bind in JavaScript

Warm up question

<!-- Update here: /questions/explain-function-prototype-bind/en-US.mdx --> is a method in JavaScript that allows you to…

JS functionsCơ bản

What's the difference between .call and .apply in JavaScript?

Warm up question

<!-- Update here: /questions/whats-the-difference-between-call-and-apply/en-US.mdx --> and are both used to invoke fun…

JS functionsCơ bản

What's the difference between a JavaScript variable that is: null, undefined or undeclared?

Warm up question

<!-- Update here: /questions/whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-…

JS functionsCơ bản

Describe the difference between <script, <script async and <script defer

Warm up question

<!-- Update here: /questions/describe-the-difference-between-script-async-and-script-defer/en-US.mdx --> All of these wa…

JS functionsCơ bản

Describe the difference between a cookie, sessionStorage and localStorage in browsers

Warm up question

<!-- Update here: /questions/describe-the-difference-between-a-cookie-sessionstorage-and-localstorage/en-US.mdx --> All…

JS functionsCơ bản

Explain how this works in JavaScript

Warm up question

<!-- Update here: /questions/explain-how-this-works-in-javascript/en-US.mdx --> There's no simple explanation for ; it i…

JS functionsCơ bản

Explain event delegation in JavaScript

Warm up question

<!-- Update here: /questions/explain-event-delegation/en-US.mdx --> Event delegation is a technique in JavaScript where…

JS functionsCơ bản

What is the event loop in JavaScript runtimes?

Warm up question

<!-- Update here: /questions/what-is-event-loop-what-is-the-difference-between-call-stack-and-task-queue/en-US.mdx --> T…

JS functionsCơ bản

What is the difference between == and === in JavaScript?

Warm up question

<!-- Update here: /questions/what-is-the-difference-between-double-equal-and-triple-equal/en-US.mdx --> is the abstract…

JS functionsCơ bản

What are the differences between JavaScript variables created using let, var or const?

Warm up question

<!-- Update here: /questions/what-are-the-differences-between-variables-created-using-let-var-or-const/en-US.mdx --> In…

JS functionsCơ bản

Explain the concept of "hoisting" in JavaScript

Warm up question

<!-- Update here: /questions/explain-hoisting/en-US.mdx --> Hoisting is a JavaScript mechanism where variable and functi…

JS functionsCơ bản