Quiz · Array methods · lesson 8 of 12
Quiz — sort without a function
What does the program print?
const nums = [10, 9, 1];
nums.sort();
console.log(nums.join(" "));Subscribe to take the course
The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.