Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (input) => {
- const num = Number(input.shift());
- console.log(num < 100 ? 'Less than 100' : num <= 200 ? 'Between 100 and 200' : 'Greater than 200');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement