Liliana797979

lowerOrUpper - fundamentals

May 28th, 2021
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function lowerOrUpper(char) {
  2.     char == char.toUpperCase() ? console.log('upper-case') : console.log('lower-case');
  3. }
Advertisement
Add Comment
Please, Sign In to add comment