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: |