2019-02-15 TWILPosted on: February 15, 2019
This Week I Learned
-
You can use
instanceof
to test whether an object is anError
. -
.mjs
is a file extension for ES6 modules that will uncouple us from the mixed CommonJS/Module mess that Webpack magically handles for us: https://medium.com/passpill-project/files-with-mjs-extension-for-javascript-modules-ced195d7c84a -
https://js.org provides free
js.org
URLs (as long as you’re presenting “reasonable content”) -
Hagfish slime is ridiculous:
Typically, a hagfish will release less than a teaspoon of gunk from the 100 or so slime glands that line its flanks. And in less than half a second, that little amount will expand by 10,000 times—enough to fill a sizable bucket.
https://www.theatlantic.com/science/archive/2019/01/hagfish-slime/581002/