Which of the following commands can be used in a function?

Which of the following commands can be used in a function?
A) return 3;
B) document.write(“Hello World”);
C) z = 1 + 2;
D) all of the above
Answer :

Leave a Comment