Professional Documents
Culture Documents
Sequence of objects
Array #1: Declaration, Update, Length
Array #2: Delete, Sub-Array
Array #3: Push, Pop, Unshift, Shift
Array #4: Array.isArray, [].indexOf
Array #5: Loop
Exercise #2
Write down a function to be able to add a number
to all numbers in an array.
Array #6: Sort, Reverse
Array #7: Array <-> String, 2D and 3D Array
Array #8: [].forEach
Array #9: ES6 Features: Array Spreads , Array.from, Array.of
Array #10: ES6 Features: [].fill, [].find, [].findIndex, [].map
Array #11: ES6 Features: [].reduce, [].filter
Array #12: ES6 Features: Destructuring
Exercise #3
Do the same with Exercise #2, but using array.map
only!
Arrays Airbnb Style Guides
Style Guide #2. Strings that cause the line to go over 100
characters should not be written across multiple lines using
string concatenation.
JavaScript never have Class concept before. They just added in ES6.
Examples:
"{ [ ] ( ) }" should return true
"{ [ ( ] ) }" should return false
"{ [ }" should return false