Can anyone help me in js cide | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone help me in js cide

question. writ a function takes an argument and return it's type in JavaScript

21st Aug 2018, 12:13 PM
Pooja chouhan
Pooja chouhan - avatar
1 Answer
0
Where are you stuck? + your code. To solve create a function and use typeof to return the argument's type. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof
21st Aug 2018, 1:08 PM
Lord Krishna
Lord Krishna - avatar