Javascript Boolean Variable Types – POFTUT

Javascript Boolean Variable Types

While making decisions we generally need some logic values. Logic values are generally true and false . In Javascript these values are called as Boolean type. Boolean type variables holds logic values true and false. This type is simpler against string and number.

  • open variable is boolean type and hold value true.

Convert To The String

Boolean values can be converted to the string like below.

  • open holds true value
  • toString will convert boolean true to string.

LEARN MORE  Memcached Check and Set Operation with Python Example

Leave a Reply

Your email address will not be published. Required fields are marked *