array of data not binding in select2 ,beleow is the my code :    this array of data not binding,can anyoneset it
 presentProfile = Object {authenticateCode: null,frontendPermission:
    Array(3)
    0:"administrator"
    1:"author"
    2:"contributor" }   
    
    jQuery.each(presentProfile.frontendPermission, function (index, data) {
           jQuery("#bis_frontend_display_roles").select2("val", data);
        });