var comm = document.createComment('This is some comment.'); var output1 = comm.nodeType; var output2 = comm.data;