In this exercise we see how to create Top-Level sites with Collaboration in SharePoint.
JavaScript Object Model (ECMA) Programming In SharePoint 2016 And Office 365