PageSetup.suppressEndnotes property. True if endnotes are printed at the end of the next section that doesn't suppress endnotes..., () => { let doc = new aw . Document (); doc . removeAllChildren...endnotes at its end. expect ( doc . endnoteOptions . position )...