Create a gist now

Instantly share code, notes, and snippets.

// Given:
var y = ...;
{
var x = F(y);
G(x);
}
// After
Action action = () => {
var x = F(y);
G(x);
};
action();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment