Examples of the type of code being used in the book can be seen at http://byfat.xxx/if-hemingway-wrote-javascript
For example, Charles Dickens:
function mrFibbowicksNumbers(enormity) {
var assortment = [0,1,1], tally = 3, artfulRatio = 1.61803;
while(tally++ < enormity) {
//here is an exceedingly clever device
assortment.push(Math.round(assortment[tally-2] * artfulRatio));
}
//should there be an overabundance of elements, a remedy need be applied
return assortment.slice(0, enormity);
}
which is followed by some discussion afterwards about him and aspects about him that affect how he would write the script.