約3,800,000件1ページ目

日本語のみで絞り込む

2025/7/10 -When Boolean() is called as a constructor (with new ), it coerces value to a boolean primitive and returns a wrapping Boolean object, which is ...

2025/7/11 -The Boolean() constructor in JavaScript is a built-in function that can be used to create a new Boolean object. The Boolean() constructor ...

The constructor property returns the function that created the Boolean prototype. For JavaScript booleans the constructor property returns: function Boolean() { ...

It is important to note that when used with the new keyword in front of it, the Boolean function acts as a constructor and will return an instance of the ...

2023/2/23 -It is constructor for objects with methods to be used on booleans. JavaScript automatically creates these objects when needed, so there is no ...

2024/2/27 -The Boolean() Constructor is used to create a new Boolean Object in JavaScript using new keyword. Syntax. Example: In most cases, it's ...

2016/4/30 -1. The constructor in primitive types · Number() for numbers: (1).constructor === Number · Boolean() for booleans: (true).constructor === Boolean ...

2026/10/1 -You can use an equality operator, Boolean() constructor, or the double NOT ( !! ) operator to convert a “true” or “false” string to a boolean.

2023/10/1 -1. constructor Property: The constructor property indicates the constructor function that created a Boolean object. · 2. prototype Property: The ...

2014/12/31 -In addition, you should never create a boolean using the Boolean constructor function. Instead, just use the literal values, true or false ...