extract out conditionals and other local variables
extract out conditionals
Merge pull request #315 from duojs/1-clean/statements

1 clean/statements