const clothes = ['shirt', 'socks', 'jacket', 'pants', 'hat']
clothes.length = 0
console.log(clothes)
Ответ: 0
[]
JavaScript test | #JavaScript
JA JavaScript test @js_test · 9.68K subscribers const clothes = ['shirt', 'socks', 'jacket', 'pants', 'hat']
clothes.length = 0
console.log(clothes)