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
alias git.clean.merged.branches="git branch --merged | grep -v "master" >/tmp/merged-branches && vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches" |
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
- ES6 | |
-- Arrow Functions: | |
function(event) { return console.log(event); }.bind(this) | |
(event) => console.log(event) | |
(event) => { console.log(event); } | |
-- Object properties shorthands: | |
let x = 1; let y = 2; | |
let obj = {x, y} | |
-- Template literals: | |
let multilineString = `This is a |