ne represents the intentional absence of a value, while the other indicates a variable has been declared but not assigned a value. What are they?
What are null and undefined?
This acronym stands for a key principle of software development aimed at reducing code duplication.
What is DRY?
This type of statement, often used in conjunction with console.log(), allows you to conditionally check values and program flow during debugging.
What is an if statement?
This type of attack floods a server with requests, making it unavailable to legitimate users.
What is a Denial-of-Service attack?
This common architectural pattern divides an application into three interconnected parts: the data, the user interface, and the logic.
What is MVC
This refers to the object it belongs to.
What is this?
This acronym stands for a principle that encourages developers to avoid adding unnecessary features or complexity.
YAGNI
This should be used to log error messages
console.error()
This security mechanism helps protect user data during transmission by encrypting it between the client and server.
What is HTTPS (Hyper Text Transfer Protocol Secure)?
In React, this naming convention is commonly used for components that primarily display data and have minimal logic.
What is Presentational Components (or "dumb" components)?
This syntax is used to expand arrays or objects to individual elements
What is the spread operator?
This acronym, often used in the context of asynchronous JavaScript, stands for "Asynchronous JavaScript and XML."
What is AJAX?
This technique involves hiding sections of code to isolate the source of the error.
What is "commenting out" code?
This prevents malicious SQL code from being executed
What are Prepared statements?
This architecture breaks down the application into smaller, independent services that communicate with each other
What is microservice architecture?
While this loop is great for iterating over a sequence of numbers, this other loop is designed to iterate over the values of iterable objects, like arrays or strings.
What are a for loop and a for...of loop?
This set of rules and specifications allows different software systems to communicate with each other.
What is an API?
This method involves talking out the problem to an inanimate object
What is "rubber duck debugging"
This type of attack involves injecting malicious scripts into a website, which can steal user data or take control of their accounts.
What is Cross Site Scripting
This architectural pattern tightly couples all levels of the stack together.
What is monolithic architecture?
One is defined with the function keyword and is hoisted, allowing it to be called before it's defined in the code. The other is defined as part of a larger expression and is not hoisted.
What are a function declaration and a function expression?
map, filter, and reduce are all examples of this type of function, which can accept other functions as arguments or return them as output.
What is a Higher Order Function?
In JavaScript, this statement helps you catch and handle errors gracefully, preventing your code from crashing.
What is try... catch?
One of these verifies a user's identity, like when they log in, while the other determines what a user is allowed to do
What are authentication and authorization?
This is an advantage for using serverless architecture for a MERN application?
What is Scalability, cost-effectiveness, or reduced operational overhead.