Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Що виведе наступний код?
const nums = [5, 3, 8, 1];console.log(nums.sort((a, b) => a - b)[0]);
const nums = [5, 3, 8, 1];
console.log(nums.sort((a, b) => a - b)[0]);
3
1
[1, 3, 5, 8]
5
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!