Inserting value of array in a <p> element

Inserting value of array in a <p> element

Hey all. Can someone help me to get the value of the array playlistArray into the new <p> that I create in the function updatePlaylist? Beneath is one of my failed attempts to get it to work. If I want to add a variable in line 6 it will handle it as a string as its between quotation marks.
  1. var playlistArray =["blablabla", "blbublubl"];

  2. updatePlaylist = function() {
  3. for(var i = 0; i < playlistArray.length; i++) {
  4. var newListItem = $("playlistArray[i]").val();
  5. var newListP = $("<p class=playlistItem></p>")
  6. newListP.append(newListItem);
  7. newListP.appendTo("aside");
  8. }
  9. }