Forgiveness and mercy
You forgive those who have done you wrong. You always give people a second chance. Your guiding principle is mercy and not revenge.
Humor and playfulness
var Cart = function(storedItems) { | |
var items = storedItems || {}; | |
this.add = function(item, sku) { | |
var storedItem = items[sku]; | |
if (storedItem == undefined) { | |
storedItem = items[sku] = {quantity: 0, item: item} | |
} | |
storedItem.quantity += 1; | |
}; |
console.log("external1 before/" + document.readyState); | |
document.write("hello again, world"); | |
console.log("external1 after/" + document.readyState); |
I hereby claim:
To claim this, I am signing this object:
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1 | |
hQIMA5qBTfxp70ruARAAlw6neEZ62CHefe6NhllFcGZ98I6vCOAkbtXTdOmocM4y | |
KfhocqhNjL9rWf35TEq1iP1kwXvz9mnAoWd8ZMftIOYf+2Hg7hbuxl+9MgUknxz7 | |
NkPwF4hIvebqIjylDQTvO8/ry+rAzmdYQWgNsnxomAUVOAzYBuDr8xfGkOvYRvdI | |
wAtGSViQ4eeZHLDZ0IGH2ptzHt/Wr5/6teDOBmb6D8yyS4MEJP0o/qhAvDXUWEMH | |
jCRyb/s3hXo0eXvG3Zczkvd2yrjqyo0t8sqi/lOV6yHarT5btzHpPMczyD/q6Leb | |
7ecaumtwlIY5Ysyirri2vJ1YRfMkhZNqvpM7aO6ANnW6WaP1xD3YlX+PQm0cAtYp | |
vKEr1E8IjmGxfHhx3tv2AAsvHL4kUFmQ7vCxRGXTKwN8M8OZGJ4rnfMt/wA+gHy+ |
/** | |
* This is a straightforward implementation of The Game of Life | |
* See http://en.wikipedia.org/wiki/Conway's_Game_of_Life | |
*/ | |
package life | |
/* | |
* A field where cells live. Effectively immutable | |
*/ | |
class Field( |