Arrays is not working in Javascript? help me?

here i am unable to print false as a Boolean datatype why?

Hi @ajutamang10, because that false is a string in the first place. If you need a boolean then remove the quotes.

Hope that helps

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.