배열의 길이를 확인하기 위해서는 Array 인스턴스의 length속성을 사용합니다. 1. 배열의 길이 확인하기const clothing = ['shoes', 'shirts', 'socks', 'sweaters'];console.log(clothing); // ['shoes', 'shirts', 'socks', 'sweaters']console.log(clothing.length); // 4clothing배열의 길이를 확인해 보니 4인 것을 확인할 수 있습니다. 2. 배열의 길이 설정하기const clothing = ['shoes', 'shirts', 'socks', 'sweaters'];clothing.length = 3;console.log(clothing); // ['shoes', 'shirts'..