So bar has become an object Together with the properties A and B. Any purpose generally is a constructor; it just won't generally sound right. The Forbes Advisor editorial workforce is independent and objective. To help you aid our reporting perform, and to continue our ability to offer this information https://smartworld69luxuryproject.blogspot.com