SP.ViewCreationInformation.setAsDefaultView property (sp.js)
Gets or sets a value that specifies whether the new list view is the default list view.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.ViewCreationInformation.get_setAsDefaultView ()
var value = SP.ViewCreationInformation.set_setAsDefaultView ()
Return value
Type: Boolean