SP.View.defaultView Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies whether the list view is the default list view.
var value = SP.View.get_defaultView();
SP.View.set_defaultView(value);
Property Value
Type: Boolean