title: why can't i assign an element to a const in the chrome conole? (Javascript)
body: <p>when i type</p>
  <blockquote>
  <p>document.getElementById('formatstring_widget_formatstring_14');</p>
  </blockquote>
  <p>in the chome console, then it returns:</p>
  <p>&quot;&lt;div data-mendix-id=​&quot;51_37_138&quot; class=​&quot;mx-name-formatString1 mx-link submenu-item page-nav-9&quot; tabindex=​&quot;0&quot; id=​&quot;formatstring_widget_formatstring_14&quot; focusindex=​&quot;0&quot; widgetid=​&quot;formatstring_widget_formatstring_14&quot; style&gt;​…​​&quot;</p>
  <p>when i try to assign it to a variable then it returnes 'undefined' why does this happen?</p>
  <blockquote>
  <p>const parent = document.getElementById('formatstring_widget_formatstring_14');
  undefined</p>
  </blockquote>
  <p>document.getElementById('formatstring_widget_formatstring_14');</p>
  ​…​​