Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Javascript: parameter function

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Nov 6, 2015 at 23:26 comment added Derek Peterson You're right! I misread it as setTimeout, so thank you for pointing out that it's actually supposed to be an interval.
Nov 6, 2015 at 23:25 history edited Derek Peterson CC BY-SA 3.0
added 28 characters in body
Nov 6, 2015 at 20:03 vote accept Gergő Sz.
Nov 6, 2015 at 19:58 comment added Oriol Not only outCalc is called immediately, it is also called only once. It should be setInterval(outCalc, 1000) instead of setInterval(outCalc(), 1000).
Nov 6, 2015 at 19:46 history answered Derek Peterson CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /