- A calculates the area of a circle
- B converts a string to uppercase
- C checks if a string is a palindrome
- D sorts an array in ascending order
JavaScript MCQ Javascript Data Types MCQ
⚠ Report ✓ Question Verified Copy Link
function toUpperCase(str) {
return str.toUpperCase();
}
Learn More MCQ Questions from JavaScript MCQ Javascript Data Types MCQ