Skip to content

Instantly share code, notes, and snippets.

@nonseodion
Created March 23, 2020 17:13
Show Gist options
  • Save nonseodion/38ecf8407e730fc33543904a8b7f1cfb to your computer and use it in GitHub Desktop.
Save nonseodion/38ecf8407e730fc33543904a8b7f1cfb to your computer and use it in GitHub Desktop.
let brands = ["Nike", "Gucci", "Adidas"];
let [nike, gucci, adidas] = brands;
console.log(nike, gucci, “and”, adidas, “are in vogue now.”);
//Output: Nike Gucci and Adidas are in vogue now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment