Created
January 21, 2021 11:28
-
-
Save rahulmalhotra/afee5d65e3c3dc80d78c4bac88079f6b to your computer and use it in GitHub Desktop.
This code snippet is used in ES6 Spread Operator JavaScript Tutorial by SFDC Stop
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 features = ['Great Speed', 'Good Color', 'Comfort', 'Good Looks']; | |
let moreFeatures = ['Great Mileage', 'Amazing Design']; | |
features.push(...moreFeatures); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment