C-a Ctrl-a
M-a Alt-a
:q close
:w write/saves
/* | |
* CSS Properties | |
* http://ref.openweb.io/CSS/ | |
**/ | |
.properties { | |
align-content: value; | |
align-items: value; | |
align-self: value; |
const assert = (v, err) => { | |
if (!v) { | |
throw err; | |
} | |
}; | |
let counter = 0; | |
class Promise { | |
constructor(executor) { |
class MyPromise { | |
constructor(executor) { | |
if (typeof executor !== 'function') { | |
throw new Error('Executor must be a function'); | |
} | |
// Internal state. `$state` is the state of the promise, and `$chained` is | |
// an array of the functions we need to call once this promise is settled. | |
this.$state = 'PENDING'; | |
this.$chained = []; |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |