So bar is currently an object With all the properties A and B. Any function is usually a constructor; it just would not always seem sensible. realistic - informed or expressing recognition of items since they really are; "a realistic description"; "a realistic view of the chances"; "a realistic appraisal https://luxuryapartmentsgreaternoida.blogspot.com/