JavaScript, Object Oriented, Technology, Oop.
implementation later. What if you eventually want to swap the array out for a stream, or a tree, or some other data structure? If everything knows the implementation, it may be too late. But when we encapsulate those implementation details behind a public interface, and then everything that uses