Page 6 - JavaScript
P. 6
Converting Array-like Objects to Arrays 54
What are Array-like Objects? 54
Convert Array-like Objects to Arrays in ES6 55
Convert Array-like Objects to Arrays in ES5 55
Modifying Items During Conversion 56
Reducing values 57
Array Sum 57
Flatten Array of Objects 57
Map Using Reduce 58
Find Min or Max Value 58
Find Unique Values 59
Logical connective of values 59
Concatenating Arrays 60
Append / Prepend items to Array 62
Unshift 62
Push 62
Object keys and values to array 62
Sorting multidimensional array 63
Removing items from an array 63
Shift 63
Pop 64
Splice 64
Delete 65
Array.prototype.length 65
Reversing arrays 65
Remove value from array 66
Checking if an object is an Array 66
Sorting Arrays 67
Shallow cloning an array 69
Searching an Array 70
FindIndex 70
Removing/Adding elements using splice() 70

