Created
August 26, 2014 15:02
-
-
Save sebastiaanvisser/ddc7a217c97803b2448d to your computer and use it in GitHub Desktop.
Utrecht-style alignment.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var user = | |
{ username : "foo bar" | |
, password : "super secret" | |
, sessionHistory : [ "Tue Aug 26 2014 16:58:14 GMT+0200 (CEST)" | |
, "Wed Aug 27 2014 16:58:14 GMT+0200 (CEST)" | |
, "Fri Aug 29 2014 16:58:14 GMT+0200 (CEST)" | |
] | |
, moneys : { amount : "-12" | |
, currency : "EUR" | |
} | |
}; | |
process( user | |
, function (u) { return u.moneys.amount * 2; } | |
, function (e) | |
{ | |
return "SUPER_ERROR: " + e; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment