title: Does NodeJS cache access to array.length?
body: <p>I have been wondering recently if accessing the <code>array.length</code> getter was cached by <strong>NodeJS</strong>, but I have only been able to find conclusive answers regarding JS interpretation in browsers, but I am developping apps in Typescript, so that's not relevant to my question (correct me if I'm wrong)</p>
  <p>So, is accessing <code>array.length</code> of time complexity O(1) (cached by NodeJS) or O(n) (not cached by NodeJS) in NodeJS 14 ?</p>
  <p>I have a hunch that it is cached, but I'd really like a definitive answer or &quot;proof&quot; of it</p>