Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function makeUpperCase(input) {
- let allWords = input.split(/\W+/).filter(Boolean).map(a => a.toUpperCase());
- console.log(allWords.join(', '));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement