To all the Devs out there, Please check the below JS question.
const chairs = ['chair1', 'chair2', 'chair3'];
chairs.length = 0;
What will be the value of chairs[0]?
Please answer in comment along with explanation.
Download the Study24x7 App, so you can connect and collaborate.