In JavaScript 1.0 and above (I believe), this is a method of the Window object. The safest way to use it is as follows:

window.setTimeout("doStuff()", 250);

Yeah, the first parameter is a string that gets evaluated. The second parameter is in milliseconds. Some days I wonder if JavaScript is case-sensitive. I've never had the guts to test it.