What is the output of console.log(“hello”.toUpperCase()) in JavaScript?
A. hello
B. Hello
C. HELLO
D. Error
Answer:C
What is the output of console.log(“hello”.toUpperCase()) in JavaScript?
A. hello B. Hello C. HELLO D. Error