These are chat archives for Moose1551/JavaProblems

27th
May 2016
Zach
@Moose1551
May 27 2016 07:23

function rot13(str) { // LBH QVQ VG!
//var myArray = str.charCode

var strArray = str.split();
var newString = [];

for (var i = 0; i < strArray.length; i++) {
newString[i] = strArray[i].charCodeAt(str.length - 1);

return newString;

}
//return strArray;
}

// Change the inputs below to test
rot13("SERR PBQR PNZC");