Boolean() 생성자
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
Boolean()
생성자는 Boolean
객체를 생성할 때 사용합니다.
시도해보기
구문
js
new Boolean([value]);
매개변수
value
Optional-
Boolean
객체의 초깃값.
명세
Specification |
---|
ECMAScript Language Specification # sec-boolean-constructor |
브라우저 호환성
BCD tables only load in the browser
같이 보기
- 용어 사전: Boolean