Build an Event Emitter in JavaScript
> An event emitter is responsible for managing a set of listeners and publishing events to them when it is told that such events happened. Due »
> An event emitter is responsible for managing a set of listeners and publishing events to them when it is told that such events happened. Due »
A least recently used (LRU) cache is a cache implementation that discards the least recently used item when the cache becomes full. This requires keeping track »
What is a Queue? Let's ask Wikipedia [https://en.wikipedia.org/wiki/Queue_(abstract_data_type)]. > In computer science, a queue is a »
What is a Stack? See Wikipedia [https://en.wikipedia.org/wiki/Stack_(abstract_data_type)]. > In computer science, a stack is an abstract data type »
With functions being first class citizens in JavaScript, having a solid understanding is key. With ES6 we see many improvements and even a new type of »