Boolean() 생성자

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

시도해보기

구문

js

new Boolean([value]);

매개변수

value Optional

Boolean 객체의 초깃값.

명세

Specification
ECMAScript Language Specification
# sec-boolean-constructor

브라우저 호환성

BCD tables only load in the browser

같이 보기