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