title: How does Python or Javascript manage resizing arrays?
body: <p>How do either of these languages manage resizing an array?
  So, say I create an array with 10 indexes, and then I need to add an element. In java, I would double the size of the array and keep adding. In languages like JS and Python, what mechanisms do they use to resize the array? </p>
  
  <p>Do they also double the size of the array in memory? </p>