JavaScript Boolean valueOf()
Description
valueOf() returns the primitive value of a boolean.
valueOf() is usually called by 
JavaScript behind the scenes, and not explicitly in code.
Syntax
boolean.valueOf()
Return Value
| Type | Description | 
| A boolean | true or false. | 
Browser Support
valueOf() is an ECMAScript1 (ES1) feature.
ES1 (JavaScript 1997) is fully supported in all browsers:
| Chrome | Edge | Firefox | Safari | Opera | IE | 
| Yes | Yes | Yes | Yes | Yes | Yes | 
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.