• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. 개발자를 위한 웹 기술
  2. JavaScript
  3. JavaScript 참고자료
  4. 표준 내장 객체
  5. Boolean
  6. Boolean() 생성자
  • Change language
  • View in English

Table of contents

  • 구문
  • 명세
  • 브라우저 호환성
  • 같이 보기

Boolean() 생성자

Boolean() 생성자는 Boolean 객체를 생성할 때 사용합니다.

구문

new Boolean([value])

매개변수

value Optional
Boolean 객체의 초깃값.

명세

Specification
ECMAScript (ECMA-262)
The definition of 'Boolean constructor' in that specification.

브라우저 호환성

BCD tables only load in the browser

같이 보기

  • 용어 사전: Boolean

Last modified: Apr 21, 2021, by MDN contributors

Change your language

Related Topics

  1. Standard built-in objects
  2. Boolean
  3. Methods
    1. This API has not been standardized. This deprecated API should no longer be used, but will probably still work. This is an obsolete API and is no longer guaranteed to work. Boolean.prototype.toSource()
    2. Boolean.prototype.toString()
    3. Boolean.prototype.valueOf()
  4. Inheritance:
  5. Function
  6. Properties
    1. This deprecated API should no longer be used, but will probably still work. Function.arguments
    2. This deprecated API should no longer be used, but will probably still work. Function.caller
    3. This API has not been standardized. Function.displayName
    4. Function.length
    5. Function.name
  7. Methods
    1. Function.prototype.apply()
    2. Function.prototype.bind()
    3. Function.prototype.call()
    4. This API has not been standardized. This is an obsolete API and is no longer guaranteed to work. Function.prototype.toSource()
    5. Function.prototype.toString()
  8. Object
  9. Properties
    1. Object.prototype.constructor
    2. This deprecated API should no longer be used, but will probably still work. Object.prototype.__proto__
  10. Methods
    1. This deprecated API should no longer be used, but will probably still work. Object.prototype.__defineGetter__()
    2. This deprecated API should no longer be used, but will probably still work. Object.prototype.__defineSetter__()
    3. This deprecated API should no longer be used, but will probably still work. Object.prototype.__lookupGetter__()
    4. This deprecated API should no longer be used, but will probably still work. Object.prototype.__lookupSetter__()
    5. Object.prototype.hasOwnProperty()
    6. Object.prototype.isPrototypeOf()
    7. Object.prototype.propertyIsEnumerable()
    8. Object.setPrototypeOf()
    9. Object.prototype.toLocaleString()
    10. This API has not been standardized. This is an obsolete API and is no longer guaranteed to work. Object.prototype.toSource()
    11. Object.prototype.toString()
    12. Object.prototype.valueOf()
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies