So bar is now an object While using the properties A and B. Any function can be a constructor; it just does not often sound right. realistic - knowledgeable or expressing consciousness of things as they really are; "a realistic description"; "a realistic see of the probabilities"; "a realistic appraisal https://affordableprojectsinbhiwadi.blogspot.com