JS Coding Questions Logo
JS Coding Questions
#84🎯 Exercise💻 Code

JavaScript Coding Exercise 84

Advertisement

728x90
javascript
1let arr = ["wöchentlich", "Woche", "wäre", "Wann"];
2
3console.log(arr.sort());

Choose the correct output:

A
['wöchentlich','Woche', 'wäre', 'Wann']
B
['Wann', 'wäre', 'Woche', 'wöchentlich']
C
['Wann', 'Woche', 'wäre', 'wöchentlich']
D
['wäre', 'Wann', 'wöchentlich','Woche']

Advertisement

Responsive Ad
84of86