Y'all I've been thinking about something. Javascript is great, right? But writing testable javascript is kinda hard. On the one hand, you want to close over your functions so that they don't leak all over your global namespace. On the other hand, once you've done that you can't test any of the functions you've closed over. This is a huge problem!
var computedValue = (function foo(injectedArgument) {
var myLocalVar = 123;
function someSiblingFunction() {
console.log("hey this was called, cool.");
}