1/19
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
List
A collection used to store multiple related pieces of data.
Array
In JavaScript, an array is a type of list that allows storage, access, and manipulation of items.
Indexing
The method of accessing each item in a list using its position, typically starting from zero.
Dynamic List
A list that can change in size, accommodating a variable amount of data.
Loop
A programming structure that repeats a block of code a defined number of times or while a condition is true.
Iteration
The process of repeatedly executing a procedure or section of code.
For Loop
A control flow statement for specifying iteration, iterating over a sequence.
Append Function
A method used to add an item to the end of a list.
Remove Function
A method that deletes an item from a list, requiring knowledge of the index.
Insert Function
A method used to add an item at a specified index in a list.
List Length
The number of items currently in a list, accessed using the syntax 'list.length'.
Zero-Based Indexing
A numbering system where the first item is at index 0.
While Loop
A control flow statement that executes a block of code as long as a specified condition is true.
Counter Variable
A variable used to track the number of iterations in a loop.
Re-indexing
The process of adjusting the indices of items in a list after elements have been added or removed.
Dynamic Indexing
Refers to the ability to modify list items based on their dynamic indices.
Printing List Values
Using a loop to display every item in a list.
Clarity of Code
The practice of writing code that is easy to read and understand, often enhanced through the use of loops.
Power of Loops
The capability of loops to perform repetitive tasks efficiently, leveraging the computer's processing power.
Updating List Values
The process of modifying the value of specific items in a list using their indices.