Jasper Duizendstra provides some Google Apps Script coding tips…
Organise your JavaScript objects in Google Apps Script with the constructor pattern by Douglas Crockford.
Source: Structure and simplify your Google Apps Script – Jasper Duizendstra – Medium

Member of Google Developers Experts Program for Google Workspace (Google Apps Script) and interested in supporting Google Workspace Devs.