MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/JavaScriptTips/comments/156s6cc/can_anyone_help_me_quick/jt1aglw/?context=3
r/JavaScriptTips • u/J-Flash6 • Jul 22 '23
4 comments sorted by
View all comments
1
What do you need help with exactly? Just solving the question in general?
All you'll need is an if(condition) and this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof
1
u/[deleted] Jul 22 '23
What do you need help with exactly? Just solving the question in general?
All you'll need is an if(condition) and this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof