This question already has an answer here:

My new coworker sent me some code. He wants me to figure out where he was born. I believe there are some hints within the code, but I cannot figure it out. Here is the code block:

function sort(arr){

    var len = arr.length;      
    for (var i = len-1; i>=0; i--){
        for(var j = 1; j<=i; j++){
                var temp = arr[j-1];
                arr[j-1] = arr[j];
                arr[j] = temp;
    return arr;

Evidently, the code doesn't run. Can you help me figure out where he's from?


marked as duplicate by Saeïdryl, JonMark Perry, boboquack, rhsquared, Jaap Scherphuis Aug 27 '18 at 9:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • $\begingroup$ Holy mother of; oh wait, haha! Great puzzle yet again casey! I feel like I should be looking at syntactical errors. Is this JavaScript? $\endgroup$ – PerpetualJ Aug 24 '18 at 18:01
  • $\begingroup$ Looks like rot 13(ohooyr fbeg) with some modification $\endgroup$ – nikki Aug 24 '18 at 18:07

Your character was born in


The code looked perfectly fine,

so I copied and pasted it into JSFiddle at https://jsfiddle.net/.


JSFiddle seemed to tell me that the semicolons at the end of each line were invalid, even though they look completely valid to me.

I was confused by this, but after I thought for a bit, I suspected that

the semicolons were not actually semicolons at all, but the Unicode "Greek question mark" character.

I confirmed this by

looking at the Unicode code points in your post. The one at the end of each line is U+037E GREEK QUESTION MARK instead of U+003B SEMICOLON.

  • 1
    $\begingroup$ Correct! Well done. :) $\endgroup$ – casey Aug 24 '18 at 18:13

Not the answer you're looking for? Browse other questions tagged or ask your own question.