The correct way to display “Hello” in an alert box using JS is ??

(A) msgbox(“Hello”);

(B) alert(“Hello”);

(C) alertbox(“Hello”);

(D) msg(“Hello”);

Leave a Reply