공백은 length 에 포함이 될까? 궁금해서 콘솔창에 출력해보았습니다. 그 결과 length에 나옵니다.
length
let blank = ' '; console.log(a.length); // 1