5.13.2 if문을 단축 평가하는 OR 표현식으로 바꾸기

if (!options) options = {};

위의 코드를 다음과 같이 바꿀 수 있음

options = options || {};

Last updated