
Explore how JavaScript arrays and objects hold data, learn commonly used array methods, and manipulate, access, and output items in web pages.
Create and compare arrays in JavaScript using literals and constructors, explore the length property, zero-based indexing, and arrays with mixed data types.
Explore nested arrays in JavaScript, learn to access inner arrays with indices, loop through items, and render results to the page with the document and console.
Learn to use array methods in JavaScript, such as Array.from and Array.of, convert strings and node lists to arrays, and apply map, isArray checks, split, and spread to create arrays.
Explore creating objects in JavaScript using literal and constructor forms, access values with dot and bracket notation, and use this in methods while handling strings, data types, and nested objects.
Learn how to merge and clone objects with Object.assign, convert objects to strings with JSON.stringify and JSON.parse, and use Object.freeze, Object.seal, and Object.isFrozen to manage and test object state.
Learn how to convert object content into arrays and loop through keys and values using Object.entries, Object.keys, and Object.values, then render results on a web page.
Learn to manipulate arrays in JavaScript by using the length property to create or clear empty slots, clone arrays, and concatenate or split strings into arrays.
Explore how to loop through arrays using for, while, for each, map, and filter, outputting items and indices to the console or page.
Explore the array and object entries and the next iterator, learning how to loop through items with for loops, while loops, and for...of, retrieving index and value with console.log.
Explore JavaScript array update methods, including push, unshift, shift, and pop, and learn slice vs splice, join, and toString for manipulating and displaying array values.
Learn how to clean up array items in JavaScript by removing duplicates with a new Set while preserving empty values, then use a boolean filter to exclude false values.
Learn to filter arrays with JavaScript's filter method, using length checks, index-based criteria, type checks, boolean cleanup of falsy values, and uppercase-first-letter rules.
Use indexOf and lastIndexOf to locate item positions, includes to verify presence, and findIndex with a callback to find the first matching element; return -1 when not found.
JavaScript's map creates a new array by applying a callback to each element, using item, index, and array. It also demonstrates combining first and last names into full names.
Learn practical ways to extract unique values from arrays in JavaScript using the set approach, spread syntax, and the filter with indexOf technique, with examples using an array with duplicates.
Explore how to access array keys and values with iterators, use keys() and values() to loop, practice with for and while loops, and inspect next() to retrieve items.
Learn how to use the reduce method to sum numbers, count occurrences of values with an object, and generate an array of unique values from an array in JavaScript.
Explore how JavaScript's sort method rearranges arrays in place, toggle order with a comparator, handle numbers and strings, and create random orders or pick random items using Math.random.
Explore JavaScript data types, including strings, numbers, and booleans, and learn to store values and manage variables. Learn arrays—joining, pushing, sorting—and use the Chrome dev tools console.
Master how to create and use variables in JavaScript, including strings, numbers, and booleans, using the assignment operator, naming rules, camel case, quotes, and multi-variable declarations.
Create and manipulate arrays in JavaScript by defining implicit literal arrays, exploring different declaration methods, and accessing elements by zero-based indices with console output.
Explore JavaScript array manipulation by pushing, popping, and shifting items, updating values by index, and locating elements with indexOf; then use splice, sort, reverse, and join to manage dynamic arrays.
Learn to manage JavaScript arrays by concatenating arrays, converting them to strings with join, and slicing subarrays. Practice dynamic updates and console debugging.
JavaScript Array and Objects
Methods and code snippets for item values from JavaScript arrays and object data.
Explore JavaScript arrays and objects. Arrays and objects can hold lots of data, there are many array methods that can be used in order to access, sort and organize the data contained within the arrays. Use of Objects combined with arrays allows applications to manage data effectively and easily. This course is focused specifically on JavaScript arrays and objects and will help demonstrate common methods that can be applied to them.
Includes a 30+ page Downloadable PDF guide that can be used along side lessons, includes source code and more!
Course covers the following topics and commonly asked questions about how to use arrays and objects in code.
JavaScript Array and Objects
How to Create an Array JavaScript
Nested Arrays Select Values from inner Array JavaScript
Common Array Static Methods and creating Arrays coding examples
JavaScript Objects object literal and constructor
JavaScript Object static Methods Using Object Data
Loop Object Values Iterate Key and Values JavaScript
How to clone and duplicate JavaScript Arrays
Iterate and Loop Array items Output Values with JavaScript
JavaScript Array and Object entries Next iterator Values
Array Update Methods Changing Array Values
Clean up Array items remove duplicates and False values
How to Filter Array Items Filter Method with JavaScript
Index value and checking if array Includes values
How to use the Array Map Method create new array
How to get Unique Values from an Array with filter Method
JavaScript Array Iterator Keys and next iterator Value
How to use the Reduce Array Method count occurrences of values
Array Sort Method Reverse sort and random sort orders in JavaScript
Learning how to use arrays within JavaScript will help you better develop JavaScript code. Arrays are one of the fundamental building blocks of JavaScript!
Learn how to store values in arrays and how to work with arrays to utilize data.
Storing Values Working with Arrays
Lets you store multiple values in single variable
creating Arrays
literal array
JOIN()
PUSH()
SORT()
FOREACH()
POP()
SHIFT()
SPLICE()
REVERSE()
TOSTRING()
By the end of the course you will have the skills and know how to apply arrays within you website.
I am here to help you learn how to create your own websites and ready to answer any questions you may have.
JavaScript is the most in demand skills, and learning how to use JavaScript will help to separate you from the crowd.
Want to know more, what are you waiting for take the first step. Join now to start learning how you too can create arrays within your website today.