First class function or first class citizen in JavaScript. But what are first class in general, According to wikipedia A first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities Source First class function are treated like variables. Variables are assigned values. They are passed as an […]