This file contains hidden or 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
alert('test'); |
This file contains hidden or 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
const flattened = [[0, 1], [2, 3], [4, 5]].reduce((p, x) => p.concat(x)); | |
// flattened is [0, 1, 2, 3, 4, 5] |
This file contains hidden or 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 options = { | |
key1: "val1", | |
}; | |
const optionsDefault = { | |
key1: "default-val1", | |
key2: "default-val2", | |
}; | |
// object rest spread on es7 |
This file contains hidden or 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
# stdin | |
docker build -t hoge - < Dockerfile.another | |
# option | |
docker build -t hoge -f Dockerfile.another . |
NewerOlder