UNPKG

wat

Version:

Community-controlled cheat sheets for every coder.

9 lines (7 loc) 251 B
## .valueOf() Returns the primitive value of a `Boolean` object. ```js var bool = new Boolean(); var boolVal = bool.valueOf(); // assigns false to boolVal ``` This method is usually called internally by JavaScript and not explicitly in code.