Câu hỏi mới đã được thêm!Khám phá ngay
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.
<!-- Update here: /questions/how-can-you-share-code-between-files/en-US.mdx --> To share code between JavaScript files,…
<!-- Update here: /questions/explain-the-concept-of-the-prototype-pattern/en-US.mdx --> The Prototype pattern is a creat…
<!-- Update here: /questions/explain-the-concept-of-the-singleton-pattern/en-US.mdx --> The Singleton pattern ensures th…
<!-- Update here: /questions/what-are-design-patterns-and-why-are-they-useful/en-US.mdx --> Design patterns are reusable…
<!-- Update here: /questions/what-are-some-tools-that-can-be-used-for-javascript-testing/en-US.mdx --> For JavaScript te…
<!-- Update here: /questions/what-are-some-popular-javascript-testing-frameworks/en-US.mdx --> Some popular JavaScript t…
<!-- Update here: /questions/explain-the-concept-of-caching-and-how-it-can-be-used-to-improve-performance/en-US.mdx -->…
<!-- Update here: /questions/explain-the-concept-of-lazy-loading-and-how-it-can-improve-performance/en-US.mdx --> Lazy l…
<!-- Update here: /questions/explain-the-concept-of-debouncing-and-throttling/en-US.mdx --> Debouncing and throttling ar…
<!-- Update here: /questions/how-do-sets-and-maps-handle-equality-checks-for-objects/en-US.mdx --> s and s in JavaScript…
<!-- Update here: /questions/what-is-the-difference-between-a-map-object-and-a-plain-object-in-javascript/en-US.mdx -->…
<!-- Update here: /questions/how-do-you-convert-a-set-to-an-array-in-javascript/en-US.mdx --> To convert a to an array…
<!-- Update here: /questions/what-are-the-differences-between-map-set-and-weakmap-weakset/en-US.mdx --> The primary diff…
<!-- Update here: /questions/what-are-sets-and-maps-and-how-are-they-used/en-US.mdx --> s and s are built-in JavaScript…
<!-- Update here: /questions/provide-some-examples-of-how-currying-and-partial-application-can-be-used/en-US.mdx --> Cur…
<!-- Update here: /questions/what-is-the-purpose-of-the-finally-block/en-US.mdx --> The block in JavaScript is used to…
<!-- Update here: /questions/how-do-you-handle-errors-using-trycatch-blocks/en-US.mdx --> To handle errors using blocks…
<!-- Update here: /questions/what-do-you-think-of-amd-vs-commonjs/en-US.mdx --> JavaScript has evolved its module system…
<!-- Update here: /questions/how-do-you-import-and-export-modules-in-javascript/en-US.mdx --> In JavaScript, you can imp…
<!-- Update here: /questions/what-are-modules-and-why-are-they-useful/en-US.mdx --> Modules are reusable pieces of code…
<!-- Update here: /questions/how-do-you-get-the-query-string-values-of-the-current-page-in-javascript/en-US.mdx --> To g…
<!-- Update here: /questions/how-do-you-redirect-to-a-new-page-in-javascript/en-US.mdx --> To redirect to a new page in…
<!-- Update here: /questions/how-do-you-use-windowhistory-api/en-US.mdx --> The API allows you to manipulate the browse…
<!-- Update here: /questions/what-are-the-differences-between-xmlhttprequest-and-fetch/en-US.mdx --> (XHR) and API are…
<!-- Update here: /questions/what-are-the-advantages-and-disadvantages-of-using-ajax/en-US.mdx --> AJAX (Asynchronous Ja…
<!-- Update here: /questions/explain-ajax-in-as-much-detail-as-possible/en-US.mdx --> AJAX (Asynchronous JavaScript and…
<!-- Update here: /questions/what-are-the-different-ways-to-make-an-api-call-in-javascript/en-US.mdx --> In JavaScript,…
<!-- Update here: /questions/how-do-you-make-an-http-request-using-the-fetch-api/en-US.mdx --> To make an HTTP request u…
<!-- Update here: /questions/describe-the-difference-between-a-cookie-sessionstorage-and-localstorage/en-US.mdx --> All…
<!-- Update here: /questions/describe-the-difference-between-script-async-and-script-defer/en-US.mdx --> All of these wa…
<!-- Update here: /questions/how-do-you-manipulate-css-styles-using-javascript/en-US.mdx --> You can manipulate CSS styl…
<!-- Update here: /questions/what-is-the-difference-between-mouseenter-and-mouseover-event/en-US.mdx --> The main differ…
<!-- Update here: /questions/how-do-you-prevent-the-default-behavior-of-an-event/en-US.mdx --> To prevent the default be…
<!-- Update here: /questions/explain-event-delegation/en-US.mdx --> Event delegation is a technique in JavaScript where…
<!-- Update here: /questions/describe-event-capturing/en-US.mdx --> Event capturing is a lesser-used counterpart to [eve…
<!-- Update here: /questions/describe-event-bubbling/en-US.mdx --> Event bubbling is a DOM event propagation mechanism w…
<!-- Update here: /questions/what-are-event-listeners-and-how-are-they-used/en-US.mdx --> Event listeners are functions…
<!-- Update here: /questions/how-do-you-add-remove-and-modify-html-elements-using-javascript/en-US.mdx --> To add, remov…
<!-- Update here: /questions/explain-the-difference-between-documentqueryselector-and-documentgetelementbyid/en-US.mdx -…
<!-- Update here: /questions/what-is-the-dom-and-how-is-it-structured/en-US.mdx --> The DOM, or Document Object Model, i…
<!-- Update here: /questions/explain-the-concept-of-this-binding-in-event-handlers/en-US.mdx --> In JavaScript, the key…
<!-- Update here: /questions/what-are-the-common-pitfalls-of-using-the-this-keyword/en-US.mdx --> The keyword in JavaSc…
<!-- Update here: /questions/explain-function-prototype-bind/en-US.mdx --> is a method in JavaScript that allows you to…
<!-- Update here: /questions/explain-how-this-works-in-javascript/en-US.mdx --> There's no simple explanation for ; it i…
<!-- Update here: /questions/explain-the-difference-between-global-scope-function-scope-and-block-scope/en-US.mdx --> Gl…
<!-- Update here: /questions/how-can-closures-be-used-to-create-private-variables/en-US.mdx --> Closures in JavaScript c…
<!-- Update here: /questions/explain-the-concept-of-scope-in-javascript/en-US.mdx --> In JavaScript, scope determines th…
<!-- Update here: /questions/explain-the-concept-of-lexical-scoping/en-US.mdx --> Lexical scoping means that the scope o…
<!-- Update here: /questions/what-advantage-is-there-for-using-the-arrow-syntax-for-a-method-in-a-constructor/en-US.mdx…
<!-- Update here: /questions/what-are-the-differences-between-es6-class-and-es5-function-constructors/en-US.mdx --> ES20…
<!-- Update here: /questions/how-do-you-create-a-constructor-function/en-US.mdx --> To create a constructor function in…
<!-- Update here: /questions/what-is-the-purpose-of-the-new-keyword/en-US.mdx --> The keyword in JavaScript is used to…
<!-- Update here: /questions/explain-the-concept-of-inheritance-in-es2015-classes/en-US.mdx --> Inheritance in ES2015 cl…
<!-- Update here: /questions/explain-the-difference-between-classical-inheritance-and-prototypal-inheritance/en-US.mdx -…
<!-- Update here: /questions/explain-how-prototypal-inheritance-works/en-US.mdx --> Prototypical inheritance in JavaScri…
<!-- Update here: /questions/how-do-you-handle-errors-in-asynchronous-operations/en-US.mdx --> To handle errors in async…
<!-- Update here: /questions/what-is-the-use-of-promiseall/en-US.mdx --> is a method in JavaScript that takes an array…
<!-- Update here: /questions/what-are-promises-and-how-do-they-work/en-US.mdx --> Promises in JavaScript are objects tha…
<!-- Update here: /questions/explain-the-concept-of-a-callback-function-in-asynchronous-operations/en-US.mdx --> A callb…
<!-- Update here: /questions/explain-the-difference-between-synchronous-and-asynchronous-functions/en-US.mdx --> Synchro…
<!-- Update here: /questions/what-is-event-loop-what-is-the-difference-between-call-stack-and-task-queue/en-US.mdx --> T…
<!-- Update here: /questions/how-do-you-reliably-determine-whether-an-object-is-empty/en-US.mdx --> To reliably determin…
<!-- Update here: /questions/explain-the-concept-of-destructuring-assignment-for-objects-and-arrays/en-US.mdx --> Destru…
<!-- Update here: /questions/how-do-you-check-if-an-object-has-a-specific-property/en-US.mdx --> To check if an object h…
<!-- Update here: /questions/what-are-the-advantages-of-using-the-spread-operator-with-arrays-and-objects/en-US.mdx -->…
<!-- Update here: /questions/explain-the-difference-between-shallow-copy-and-deep-copy/en-US.mdx --> A shallow copy dupl…
<!-- Update here: /questions/what-are-the-different-ways-to-copy-an-object-or-an-array/en-US.mdx --> To copy an object o…
<!-- Update here: /questions/how-do-you-add-remove-and-update-elements-in-an-array/en-US.mdx --> To add elements to an a…
<!-- Update here: /questions/what-are-the-different-methods-for-iterating-over-an-array/en-US.mdx --> There are several…
<!-- Update here: /questions/explain-the-difference-between-dot-notation-and-bracket-notation-for-accessing-object-prope…
<!-- Update here: /questions/what-are-the-various-ways-to-create-objects-in-javascript/en-US.mdx --> Creating objects in…
<!-- Update here: /questions/what-are-default-parameters-and-how-are-they-used/en-US.mdx --> Default parameters in JavaS…
<!-- Update here: /questions/what-is-recursion-and-how-is-it-used-in-javascript/en-US.mdx --> Recursion is a programming…
<!-- Update here: /questions/what-are-callback-functions-and-how-are-they-used/en-US.mdx --> A callback function is a fu…
<!-- Update here: /questions/what-is-the-definition-of-a-higher-order-function/en-US.mdx --> A higher-order function is…
<!-- Update here: /questions/difference-between-function-person-var-person-person-and-var-person-new-person/en-US.mdx --…
<!-- Update here: /questions/can-you-offer-a-use-case-for-the-new-arrow-function-syntax-how-does-this-new-syntax-differ-…
<!-- Update here: /questions/whats-the-difference-between-call-and-apply/en-US.mdx --> and are both used to invoke fun…
<!-- Update here: /questions/explain-the-concept-of-hoisting-with-regards-to-functions/en-US.mdx --> Hoisting in JavaScr…
<!-- Update here: /questions/what-is-the-difference-between-a-parameter-and-an-argument/en-US.mdx --> A parameter is a v…
<!-- Update here: /questions/explain-the-differences-on-the-usage-of-foo-between-function-foo-and-var-foo-function/en-US…
<!-- Update here: /questions/what-are-the-benefits-of-using-spread-syntax-and-how-is-it-different-from-rest-syntax/en-US…
<!-- Update here: /questions/explain-the-concept-of-the-spread-operator-and-its-uses/en-US.mdx --> The spread operator (…
<!-- Update here: /questions/what-are-rest-parameters-and-how-are-they-used/en-US.mdx --> Rest parameters in JavaScript…
<!-- Update here: /questions/what-is-the-purpose-of-the-switch-statement/en-US.mdx --> The statement is used to execute…
<!-- Update here: /questions/how-do-you-access-the-index-of-an-element-in-an-array-during-iteration/en-US.mdx --> To acc…
<!-- Update here: /questions/what-is-the-ternary-operator-and-how-is-it-used/en-US.mdx --> The ternary operator is a sho…
<!-- Update here: /questions/what-is-the-purpose-of-the-break-and-continue-statements/en-US.mdx --> The statement is us…
<!-- Update here: /questions/what-language-constructs-do-you-use-for-iterating-over-object-properties-and-array-items/en…
<!-- Update here: /questions/what-is-the-difference-between-double-equal-and-triple-equal/en-US.mdx --> is the abstract…
<!-- Update here: /questions/how-can-you-avoid-problems-related-to-hoisting/en-US.mdx --> To avoid problems related to h…
<!-- Update here: /questions/explain-the-difference-in-hoisting-between-var-let-and-const/en-US.mdx --> declarations ar…
<!-- Update here: /questions/explain-hoisting/en-US.mdx --> Hoisting is a JavaScript mechanism where variable and functi…
<!-- Update here: /questions/what-is-the-spread-operator-and-how-is-it-used/en-US.mdx --> The spread operator, represent…
<!-- Update here: /questions/what-are-template-literals-and-how-are-they-used/en-US.mdx --> Template literals are a feat…
<!-- Update here: /questions/how-do-you-convert-a-string-to-a-number-in-javascript/en-US.mdx --> In JavaScript, you can…
<!-- Update here: /questions/what-are-the-differences-between-variables-created-using-let-var-or-const/en-US.mdx --> In…
<!-- Update here: /questions/whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-…
<!-- Update here: /questions/how-do-you-check-the-data-type-of-a-variable/en-US.mdx --> To check the data type of a vari…
<!-- Update here: /questions/what-are-the-various-data-types-in-javascript/en-US.mdx --> In JavaScript, data types can b…