Guest User

Untitled

a guest
Apr 25th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. function getSomething( a, b, c ) {
  2.  
  3. // Multiple return points aren't always bad ya' know!
  4. if ( !(a && b && c) ) { return; }
  5.  
  6. // Continue with function,
  7. // we know a, b and c are truthy values!
  8.  
  9. return /* whatever */;
  10.  
  11. }
Add Comment
Please, Sign In to add comment