What means '2e4' in code
javascript, raphael
Solution
it means 2*10^4 and try it in your console `2e4` the output will be `20000`
the `e` is the scientific notation
the code is equivilant to
...
e.animate({along: 1}, 20000, function () { ....
Problem
This example http://raphaeljs.com/gear.html has following code: ``` function run() { e.animate({along: 1}, 2e4, function () { e.attr({along: 0}); setTimeout(run); }); } ``` What means "2e4" in this example and how it works?