So bar is now an object Together with the properties A and B. Any function can be a constructor; it just doesn't often sound right. a : totally free use or possession of high priced food stuff, costume, or nearly anything that pleases an individual b : wonderful ease or https://medium.com/@GurgaonluxuryProjects/