Boolean
、ブール値 (JavaScript)A boolean value is a member of the type Boolean and is one of two unique values,
true
andfalse
.
The type
Boolean
represents a logical entity and consists of exactly two unique values. One is calledtrue
and the other is calledfalse
.
Boolean
オブジェクト (JavaScript)A Boolean object is a member of the type
Object
and is an instance of the built-inBoolean
object. That is, a Boolean object is created by using theBoolean
constructor in anew
expression, supplying a boolean as an argument. The resulting object has an implicit (unnamed) property that is the boolean. A Boolean object can be coerced to a boolean value.
[7] Bug 28477 – Warn against boolean arguments defaulting to true ( 版) <https://www.w3.org/Bugs/Public/show_bug.cgi?id=28477>
[8] Write structured clone algorithm in terms of ECMAScript · whatwg/html@bfb960c ( 版) <https://github.com/whatwg/html/commit/bfb960c938580c95e77365e614218b952f96375b>
[1] Breaking: refactor structured clone into serialize/deserialize (domenic著, ) <https://github.com/whatwg/html/commit/97d644c97335956610a31e8ad98d1a388c063e84>