1.Object destructuring
2.The .map() method
3. The .join() method
4. Returning a function inside a function
5. Creating new arrays with the array constructor.
6. The .fill() method
An easier way to extract data from objects.
An inbuilt Javascript method to iterate over arrays
An inbuilt Javascript method to create strings from arrays
1. Concatenates the elements of an array into a string.
2. Lets you choose how the elements are seperated.
3. Returns the new string.
1. It converts the elements in an array to a given static value.
What we'll be covering 1. Constructor Functions 2. Breaking up our code into multiple files. 3. Other JS Goodies.
1. Properties on objects that contain functions.
2. If yoou can write a function, you can write a method.
1. Copues properties from a source object to a target object.
2. Returns a new version of the target object.
1. The .reduce() method
2. Arrow Functions : A Javascript notation used in ES6
3. setTimeOut()
4. Plenty more JS goodies.
1. If you have one parameter, you donot need brackets.
2. If you have zero or two parameters, you need brackets.
3. You can return one line of code without curly braces or the return keyword.
4. More complex logic requires the curly braces and the return keyword.
1. Add realistic Dice.
2. Change the rules of the game.
3. Add more heroes
4. Restyle the entire app.