SharePoint 2013 get document library created by users in JavaScript
<p>Hi I am trying to get all documents library only created by the logged users.  With the following code I get also libraries which was not created from a user.  Thank you.</p>

<pre><code>function GetAllLibraries() {
    var listCollection = lists.getEnumerator();
    while (listCollection.moveNext()) {
        var listName = listCollection.get_current().get_title('Title');
        document.getElementById('leftDiv').innerHTML += "&lt;b&gt;" + listName + "&lt;b/&gt;" + "&lt;br /&gt;";
    }
}
</code></pre>