static functions, object.assign

master
Matt Huntington 7 years ago
parent 2844b28af0
commit 2c15e53f11

@ -17,6 +17,7 @@
1. Array.isArray() 1. Array.isArray()
1. argument object 1. argument object
1. spread and rest operators 1. spread and rest operators
1. Trailing commas
1. Template Literals 1. Template Literals
1. Object literal extensions 1. Object literal extensions
1. Destructuring 1. Destructuring
@ -479,6 +480,10 @@ function returnOnlyNums(...arrayParam){
console.log( returnOnlyNums(44, false, 'pizza', 45, {season: "winter"}, [1,2,3,4,5,], 2, 9) ); // [ 44, 45, 2, 9 ] console.log( returnOnlyNums(44, false, 'pizza', 45, {season: "winter"}, [1,2,3,4,5,], 2, 9) ); // [ 44, 45, 2, 9 ]
``` ```
## Trailing commas
## Template Literals (String Interpolation) ## Template Literals (String Interpolation)
Template literals allow you to insert variables into strings with out having to use `+` Template literals allow you to insert variables into strings with out having to use `+`

Loading…
Cancel
Save