Javascript, CodeManaging Collections in JavascriptThree ways to manage collections in JavaScript models — exposing the raw array, wrapping it in methods, or extending Array for the best of both.