Skip to content

Instantly share code, notes, and snippets.

@mikaelbr
mikaelbr / destructuring.js
Last active April 25, 2024 13:21
Complete collection of JavaScript destructuring. Runnable demos and slides about the same topic: http://git.mikaelb.net/presentations/bartjs/destructuring
// === Arrays
var [a, b] = [1, 2];
console.log(a, b);
//=> 1 2
// Use from functions, only select from pattern
var foo = () => [1, 2, 3];
@Symfomany
Symfomany / WIld Gulp Project
Last active March 7, 2017 17:04
Wild Gulp Project to handle dev/prod environments with CSS,JS, SASS IMAGES, JSON & HTML optimizes
Use Gulp Task Runner to create/handle tasks around your Wild Web Project
Example with:
### Requirements Gulp & Browser Sync in Global
```
npm install -g gulp
npm install -g browser-sync
```