Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function invalidNumber(input) {
- let num = Number(input[0]);
- if (num <= 100 && num < 200 && num != 0) {
- console.log(`invalid`);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement