Multiple choice technology web technology

How do you put a message in the browser's status bar?

  1. window.status = "put your message here"

  2. status("put your message here")

  3. statusbar = "put your message here"

  4. window.status("put your message here")

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The browser status bar text is set via window.status property. Option A is correct. Option B invents a status() function, option C references a non-existent statusbar variable, and option D treats status as a method instead of a property.