Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getSomething( a, b, c ) {
- // Multiple return points aren't always bad ya' know!
- if ( !(a && b && c) ) { return; }
- // Continue with function,
- // we know a, b and c are truthy values!
- return /* whatever */;
- }
Add Comment
Please, Sign In to add comment