2018-05-11 TWILPosted on: May 11, 2018
This Week I Learned
-
You can do dynamic key names within JS Object literals:
var customKey = "foo"; var obj = { [customKey]: "bar" }; console.log(obj); // { foo: 'bar' }
-
Hold down
alt
to just select the text of a link without clicking on it and opening it (in OSX at least, not sure about other operating systems). -
There was a 2 year study affirming the benefits of allowing employees to work from home: https://www.thriveglobal.com/stories/30386-a-2-year-stanford-study-shows-the-astonishing-productivity-boost-of-working-from-home
-
Someone made a web based version of Insult Sword Fighting from the amazing Monkey Island series.