Skip to content

{ Author Archives }

Unincorporated Man

I just ordered The Unincorporated Man.  The blurb suggests the story is one in which “every individual is incorporated at birth, and spends many years trying to attain control over his or her own life by getting a majority of his or her own shares.”  The subject matter is provocative with compelling arguments for and [...]

JavaScript Puzzle I: Answer

The last puzzle asked what the following JavaScript snippet prints to the console:
j = a = i = 2;
var foo = j
/[a/*]/; foo++; [ /**/ ]
console.log(foo);

Clearly since this is a puzzle about parsing, you might guess that incorrect answers probably result from misparsing the snippet. Naively there are at least three interesting ways this [...]

Tagged , ,