https://www.sohamkamani.com/javascript/builder-pattern/
Using the Builder Pattern in Javascript (With Examples)