Instantly better presentations - Damian Conway
It probably just makes more sense to just view his version online at:
http://damian.conway.org/IBP.pdf
But making notes is useful anyway.
| <OOV> | |
| the | |
| and | |
| i | |
| it | |
| a | |
| is | |
| to | |
| this | |
| was |
Instantly better presentations - Damian Conway
It probably just makes more sense to just view his version online at:
http://damian.conway.org/IBP.pdf
But making notes is useful anyway.
| // import * as LZString from "lz-string"; | |
| // https://cdnjs.cloudflare.com/ajax/libs/lz-string/1.4.4/lz-string.min.js | |
| var LZString=function(){function o(o,r){if(!t[o]){t[o]={};for(var n=0;n<o.length;n++)t[o][o.charAt(n)]=n}return t[o][r]}var r=String.fromCharCode,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",t={},i={compressToBase64:function(o){if(null==o)return"";var r=i._compress(o,6,function(o){return n.charAt(o)});switch(r.length%4){default:case 0:return r;case 1:return r+"===";case 2:return r+"==";case 3:return r+"="}},decompressFromBase64:function(r){return null==r?"":""==r?null:i._decompress(r.length,32,function(e){return o(n,r.charAt(e))})},compressToUTF16:function(o){return null==o?"":i._compress(o,15,function(o){return r(o+32)})+" "},decompressFromUTF16:function(o){return null==o?"":""==o?null:i._decompress(o.length,16384,function(r){return o.charCodeAt(r)-32})},compressToUint8Array:function(o){for(var r=i.c |
| Short-circuit? | Short-circuits on? | Fulfilled on? | Rejected on? | |
|---|---|---|---|---|
| Promise.all | ✅ | First rejected promise | All promise fulfilled | First rejected promise |
| Promise.allSettled | ❌ | N/A | Always | N/A |
| Promise.race | ✅ | First settled | First promise fulfilled | First rejected promise |
| Promise.any | ✅ | First fulfilled | First promise fulfilled | All rejected promises |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
| <title>Document</title> | |
| </head> | |
| <body> | |
After this lesson, you will be able to: