Array Methods
CRUD operations
File & Module operations
Code Concepts
100

This method returns all items that match a condition..

What is filter()

100

The four letters in CRUD stand for these operations..

What is create, read, update, delete?

100

This function imports code from another javascript file..

What is require()?

100

On the client side, this method deserializes, on the server side, it serializes..

What is .json()

200

This method returns the first item that matches a condition..

What is find()

200

This operation replaces an entire item, keeping only the id or reference..

What is PUT?

200

This method makes functions available to other files..

What is module.exports?

200

We check this condition to handle when item indexes aren't found

What is result === -1

300

This method returns the position of an item, not the item itself..

What is findIndex()?

300

This operation updates only specific fields of an item..

What is PATCH?

300

We use this statement with filepaths to maintain consistency across platforms..

What is __dirname?

300

This object and property are where we check for the data that has been passed to the server from the client..

What is req.body?

400

This method removes 1 item starting at a specific index..

What is splice()?

400

This line of code or statement is what items are matched against in a find method..

What is a constraint function?

400

We create copies of arrays with map to avoid doing this...

What is modifying/mutating original array?

400

This window method will change the current window to a new URL..

What is .location.replace()

500

When findIndex() returns this value, it means the item wasn't found..

What is -1?

500

This javascript tool is used to take a copy of individual items from an array or object and copy them..

What is the spread operator?

500

In EJS template syntax, this character represents an escaped variable written to html

What is the equal sign?

500

This expression is a quick way to create an object ID based on the time since Jan 1, 1970..

What is Date.now()