サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
やる気の出し方
espadrine.github.io
ECMAScript 2015 let, const (define block-local vars), function in block scope Destructuring: let {x, y} = pt; let [s, v, o] = triple(); (assuming let pt = {x:2, y:-5}, for instance). Parameter default values: function f(x, y=1, z=0) {⋯} Rest: function g(i, j, ...r) { return r.slice(i, j); } (instead of using arguments like a madman). Spread: let a = [0,1,2,3], o = new Something(...a);. Also works
このページを最初にブックマークしてみませんか?
『espadrine.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く