Using Math object to shorten scripts

Christian Heilmann talks of using the Math object in JavaScript in some very nice ways. In particular, using the min and max methods to save extraneous if/else logic and even normalising property values like scrollTop.

Published June 28, 2007
Categorized as Quick Links
Short URL: http://www.shoppingpr.com/s/829
99热这里只有精品国产,免费99精品国产自在现线,99国产这里有精品视频