dropshado.ws

Front-end development minutiæ

by David DeSandro

Archive
RSS feed
Twitter
original Tumblr version

Exponential notation

23:23 into 11 More Things I Learned from the jQuery Source, Paul Irish briefly mentions exponential notation for numbers.

4e3 // => 4 * 10 * 10 * 10 => 4000

He uses in .animate() call for 4000 milliseconds.

19 Jan 2011
  • paul
  • irish,
  • js
Page of
  • desandro.com
  • @desandro
  • github.com/desandro
  • desandro’s JS Fiddles