Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
challenges [2016/05/17 11:58]
jan [Caesars Cipher]
challenges [2016/05/17 11:59] (current)
jan [Caesars Cipher]
Line 344: Line 344:
   ​   ​
     ​     ​
-    if (str.charCodeAt(i) < 65 || str.charCodeAt(i) > 90) {+    if (str.charCodeAt(i) < 65 || str.charCodeAt(i) > 90) {  // is this outside the A-Z range? If so, pass it on without rotation.
       myArray[i] = str.charCodeAt(i);​       myArray[i] = str.charCodeAt(i);​
     }     }
Last modified: le 2016/05/17 11:59