I know following expression is true
:
[1, 2] instanceof Array
And that's a correct approach to distinct an Array from Object. But why following expression is false
?
0 instanceof Number
I know following expression is true
:
[1, 2] instanceof Array
And that's a correct approach to distinct an Array from Object. But why following expression is false
?
0 instanceof Number