Too Long; Didn't Read
Recently I was reading <a href="https://hackernoon.com/tagged/twitter" target="_blank">Twitter</a> and stumbled across <a href="https://twitter.com/dan_abramov/status/1035190868876177409" target="_blank">a tweet by Dan Abramov</a>. He shared a short code snippet that caught my eye. It included some JavaScript which accessed an input element from the DOM (<a href="https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model" target="_blank">Document Object Model</a>) and read or changed some of its properties. What was exciting and surprising to me was the property <code class="markup--code markup--p-code">defaultValue</code>.