Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // symmetrical == good
- function f(x) {
- if (x) {
- return callSomethingToDoIt()
- }
- return callSomethingElseToDoIt()
- }
- // asymetrical == not so good
- function f(x) {
- if (x) {
- return callSomethingToDoIt()
- }
- var result = step1(x)
- result = step2(result)
- result = step3(result)
- return result
- }
Add Comment
Please, Sign In to add comment