My main question is whether I can have JavaScript syntax highlighting while also highlighting diffs between different bits of code
-
-
-
GitHub does this with background color, I think
End of conversation
New conversation -
-
-
FWIW, 1) Promises are just a monad if you've done those tutorials 2) the language feature you want is async/await, Babel supports it
-
Would explaining async/await first make promises easier to understand in that context?
- 1 more reply
New conversation -
-
-
Technically Promise states are: [pending, fulfilled, rejected]. `Resolved` is a fate (as is `unresolved`) https://github.com/domenic/promises-unwrapping/blob/master/docs/states-and-fates.md …
-
...so really, every mention of 'resolved' in your article should be 'fulfilled'
- 2 more replies
New conversation -
-
-
For reference, I've been using http://www.html5rocks.com/en/tutorials/es6/promises/ … as my starting point
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.