Created
August 16, 2018 11:32
-
-
Save CodHeK/cc24f37f237d1ce4dc40264c51fa63de to your computer and use it in GitHub Desktop.
spread operator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let nums = [1, 2, 3, 4, 5] | |
console.log(Math.max(...nums)) //prints 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment