title: javascript Array that contains only last N elements
body: <p>Is there some data-type like array that contains only last 100 elements?
  Or
  How to do this on my own?</p>
  
  <p>We can just slice array from 0 to x element, when array length will be more than 100, but this is inefficient.</p>