PrepAway - Latest Free Exam Questions & Answers

Which of the following would be the correct JavaScript way to make a text string appear in bold print?

Which of the following would be the correct JavaScript way to make a text string appear in bold
print?

PrepAway - Latest Free Exam Questions & Answers

A.
“<B>Hello!</B>”

B.
“Hello!.bold()”;

C.
“Hello!”.bold();

D.
<b>”Hello!”</b>


Leave a Reply