bookmark

JavaScript Factory Functions with ES6+ – JavaScript Scene – Medium


Description

A factory function is any function which is not a class or constructor that returns a (presumably new) object. In JavaScript, any function can return an object. When it does so without the new…

Preview

Tags

Users

  • @mjbrown

Comments and Reviews