push() in JavaScript

 pileOfPapers = new Array("A","B");
    currentPaper = pileOfPapers.push("C","D");
    document.write(pileOfPapers.join(',')," are in the pile.");