Guest User

Untitled

a guest
Jan 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. function inputtedNumber(num) {
  2. if (num % 3 == 0) {
  3. return "Sorry";
  4. }
  5. else if (num.includes(0)=== true) {
  6. return " BEEP ";
  7. }
  8. else if (num.includes(1)=== true) {
  9. return " Boop ";
  10. }
  11. else {
  12. return " ERROR!!! ";
  13. }
  14. }
Add Comment
Please, Sign In to add comment