var metalworkingguide = new guide(); metalworkingguide.addsection("introduction", () => { var memo = "welcome to the fascinating world of metalworking! this memo serves to resume from the start and introduce you to the basics."; var skills = new skillset(); skills.add("safety", "always stay guarded while operating machinery."); skills.add("techniques", "from preexportation of materials to the final product, every step is crucial."); skills.add("mindset", "never downplay the importance of precision and care in your work."); return memo + skills.generateoverview(); });