Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (condition) {
- foo = a;
- } else {
- foo = b;
- }
- //
- foo = condition ? a : b;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement