comments = ["Hey", "Test", "First"] comments = comments.reverse(); if (typeof module !== "undefined" && module.exports) { module.exports = comments; }