Boolean()
생성자는 Boolean
객체를 생성할 때 사용합니다.
The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.
구문
new Boolean([value])
매개변수
value
OptionalBoolean
객체의 초깃값.
명세
브라우저 호환성
BCD tables only load in the browser
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
같이 보기
- 용어 사전: Boolean