Decrypting answers...
Ctrl+/ to search
Showing results for ""
No questions found
Try different keywords or check your spelling

JavaScript API pt. 1

What is the difference between setTimeout() and setInterval()?

↑ Back to top

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

↑ Back to top

How to clear an array of objects in JavaScript

↑ Back to top

What is the Difference Between let and var?

↑ Back to top

What are the Data Types in JavaScript?

↑ Back to top

How to Create an Object in JavaScript?

↑ Back to top

What are the Falsy Values in JavaScript?

↑ Back to top

What Distinguishes null from undefined?

↑ Back to top

What is the Spread Operator?

↑ Back to top

What is the Rest Operator?

↑ Back to top

What Does NaN Mean?

↑ Back to top

How to Create a Valid URL?

↑ Back to top

What Distinguishes call() from apply()?

↑ Back to top

What is the Purpose of the bind() Function?

↑ Back to top

What is the Difference Between slice() and splice()?

↑ Back to top

Definitions pt. 1

What is scope?

↑ Back to top

What types of scope do you know?

↑ Back to top

What is prototypal inheritance?

↑ Back to top

How does hoisting work?

↑ Back to top

What is a closure?

↑ Back to top

What is an IIFE?

↑ Back to top

How do you change the context of a function call?

↑ Back to top

What is the purpose of use strict;?

↑ Back to top

Object.freeze() vs Object.seal()

↑ Back to top

What is the Event Loop?

↑ Back to top

What are Persistent Data Structures?

↑ Back to top

How to Create a Namespace?

↑ Back to top

How to Debug JavaScript Code?

↑ Back to top

How to Prevent an Object from Being Extended?

↑ Back to top

What Is the Difference Between Synchronous and Asynchronous Functions?

↑ Back to top

Functions pt. 1

How Do the map(), filter(), and reduce() Functions Work?

↑ Back to top

What Is the Difference Between forEach() and map()?

↑ Back to top

What Are First-Class Functions?

↑ Back to top

What Are Higher-Order Functions?

↑ Back to top

What Is a Pure Function?

↑ Back to top

Browser API

What is Event Bubbling?

↑ Back to top

What is Event Capturing?

↑ Back to top

What is Event Delegation?

↑ Back to top

What is the purpose of the history object?

↑ Back to top

What is the difference between an attribute and a property?

↑ Back to top

What is the purpose of web storage?

↑ Back to top

How do you use web storage?

↑ Back to top

Is it possible to read localStorage from a different domain?

↑ Back to top

What distinguishes cookies, sessionStorage, and localStorage?

↑ Back to top

What methods are available in sessionStorage?

↑ Back to top

Asynchronous Code

What is a Promise?

↑ Back to top

What is a callback?

↑ Back to top

What is callback hell?

↑ Back to top

What are the benefits of using a Promise?

↑ Back to top

What is async/await?

↑ Back to top

JavaScript API pt. 2

How Can We Create an Array in JavaScript?

↑ Back to top

How to Clone an Object in JavaScript?

↑ Back to top

What Is JSON and How Do We Handle It?

↑ Back to top

How Do We Read Data Stored in JSON?

↑ Back to top

What Is the Effect of Calling the setTimeout Function with a 0 Delay?

↑ Back to top

Why Do We Use Object.seal()?

↑ Back to top

Why Do We Use Object.freeze()?

↑ Back to top

What is the difference between Object.values and Object.entries?

↑ Back to top

What is the difference between for...in and for...of?

↑ Back to top

How to check if an object has a property?

↑ Back to top

Definitions pt. 2

What Are the Benefits of Using Modules?

↑ Back to top

What Is a Call Stack?

↑ Back to top

What Is the Memory Heap?

↑ Back to top

What Is a Polyfill?

↑ Back to top

What Is Tree Shaking?

↑ Back to top

What Is the Prototype Chain?

↑ Back to top

What Is the Difference Between __proto__ and prototype?

↑ Back to top

What Are ES6 Classes?

↑ Back to top

What Is Obfuscation?

↑ Back to top

What is Minification?

↑ Back to top

Functions pt. 2

What is memoization?

↑ Back to top

What is currying?

↑ Back to top

What is partial application?

↑ Back to top

What are arrow functions?

↑ Back to top

What are anonymous functions?

↑ Back to top

Browser API pt. 2

What Is the Purpose of preventDefault()?

↑ Back to top

What Is the Purpose of stopPropagation()?

↑ Back to top

How Can You Change the URL Without Reloading the Page?

↑ Back to top

How Do You Trigger a Redirection to Another Page?

↑ Back to top

How Can You Read the Page URL in JavaScript?

↑ Back to top

What Are the Components of a URL?

↑ Back to top

What Are Data Attributes Used For?

↑ Back to top

What Is the Difference Between load and DOMContentLoaded?

↑ Back to top

What Is the void Operator?

↑ Back to top

What is the difference between window and document?

↑ Back to top

Cookies

What Are Cookies Used For?

↑ Back to top

What Cookie Options Do You Know?

↑ Back to top

How Are Cookies Created?

↑ Back to top

How Do You Read Cookies?

↑ Back to top

How Do You Delete a Cookie?

↑ Back to top

HTTP

What Are HTTP Request Methods?

↑ Back to top

What Is CORS?

↑ Back to top

What Is the Same-Origin Policy?

↑ Back to top

What Does the Idempotency of HTTP Methods Mean?

↑ Back to top

How to Make an HTTP Request Using JavaScript?

↑ Back to top

Asynchronous Code pt. 2

What states can a Promise be in?

↑ Back to top

What is Promise Chaining?

↑ Back to top

What is the purpose of Promise.all()?

↑ Back to top

What is the purpose of Promise.race()?

↑ Back to top

How can you cancel a Promise()?

↑ Back to top

Code Questions

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

What does the following code do?

↑ Back to top

Performance

What is the difference between <script async> and <script defer>?

↑ Back to top

Loading Fonts via <link> vs. @import

↑ Back to top

What is a Garbage Collector?

↑ Back to top

What Garbage Collector Algorithms Do You Know?

↑ Back to top

How Does the Reference Counting Algorithm Work?

↑ Back to top

How Does the Mark and Sweep Algorithm Work?

↑ Back to top

What Is a Memory Leak?

↑ Back to top

How to Optimize Resource Usage

↑ Back to top

How to Improve Page Performance

↑ Back to top

How to Identify a Memory Leak in an Application

↑ Back to top

JavaScript API pt. 3

What is a WeakSet?

↑ Back to top

How does a WeakSet differ from a Set?

↑ Back to top

What is a WeakMap?

↑ Back to top

How does a WeakMap differ from a Map?

↑ Back to top

What is a barrel?

↑ Back to top

What is a TypedArray?

↑ Back to top

What is the Difference Between Host and Native Objects?

↑ Back to top

What Values Can this Have?

↑ Back to top

What is an Iterator Used For?

↑ Back to top

What is a Generator Used For?

↑ Back to top

Security

What Are the Methods to Enhance the Security of a JavaScript Application?

↑ Back to top

How to Secure a Cookie?

↑ Back to top

What Is a Cross-Site Scripting (XSS) Attack?

↑ Back to top

What Is a Cross-Site Request Forgery (CSRF) Attack?

↑ Back to top

What Is a Server-Side JavaScript Injection Attack?

↑ Back to top

Definitions pt. 3

What is the difference between Obfuscation and Encryption?

↑ Back to top

What is an event table?

↑ Back to top

What is the Temporal Dead Zone?

↑ Back to top

What is a service worker?

↑ Back to top

What are server-sent events used for?

↑ Back to top