SetTimeout and SetInterval - since when?

R

Robert Mark Bram

Howdy All!

I would like to find since when did different versions of browsers and/or
JavaScript/JScript/ECMAScript support the SetTimeout and SetInterval
methods.. this is for compatibility reasons.

Thanks for any advice!

Rob
:)
 
L

Lasse Reichstein Nielsen

Robert Mark Bram said:
I would like to find since when did different versions of browsers and/or
JavaScript/JScript/ECMAScript support the SetTimeout and SetInterval
methods.. this is for compatibility reasons.

The functions setInterval and setTimeout are not ECMAScript, but are
part of the (non-standardized) browser runtime environment.

From what I can see:
setTimeout : existed in Netscape 2!
setTimeout : introduced in Netscape 4 (same version as anonymous functions)
Both exist in Opera 4 too. I can't check older versions of IE, so I'll have
to rely on documentation. Microsoft says that setInterval was available in
IE4 and setTimeout in IE3.

I can't imagine any new browser not understanding both.

/L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top