- 2

Js

type OF operator what is the type of it

2nd Jul 2021, 2:10 PM
Abhishek Bairwa
Abhishek Bairwa - avatar
3 Answers
+ 2
Abhishek Bairwa It's typeof not type OF and the typeof operator returns the data type of its operand in the form of a string. The operand can be any object, function, or variable. https://code.sololearn.com/WBf8AV6WHmUN/?ref=app
2nd Jul 2021, 2:31 PM
A͢J
A͢J - avatar
+ 1
Type of it? what is "it" you mean there? You know `typeof` is an operator, what's your doubt? https://developer.mozilla.org/en-us/docs/web/javascript/reference/operators/typeof
2nd Jul 2021, 2:32 PM
Ipang
0
Sir one person is arguing me that it is a special type of operator in js
2nd Jul 2021, 4:06 PM
Abhishek Bairwa
Abhishek Bairwa - avatar